Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 98.27 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 172.9 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003809, allocations: 15.98 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.664, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001055/0.6651, allocations: 486.1 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.6667, allocations: 1.144 MB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.6668, allocations: 8 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.6668, allocations: 3.938 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.6669, allocations: 3.938 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.6674, allocations: 119.7 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.6675, allocations: 103.7 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.6676, allocations: 19.97 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.6677, allocations: 39.92 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.6677, allocations: 39.81 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.6678, allocations: 8 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.6678, allocations: 23.98 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.6679, allocations: 7.984 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.6679, allocations: 61.55 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.6681, allocations: 107.7 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.6681, allocations: 3.938 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6681, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.6681, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004593/0.6686, allocations: 400.5 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6686, allocations: 8.031 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.6686, allocations: 38.73 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.6687, allocations: 12.84 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.6688, allocations: 168.3 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.6688, allocations: 384 / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.6689, allocations: 8.375 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.669, allocations: 74.22 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6691, allocations: 3.938 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.6691, allocations: 3.938 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.6691, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.6693, allocations: 59.89 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.6697, allocations: 336.6 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.6699, allocations: 66.48 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.67, allocations: 41.03 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.6701, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.6703, allocations: 91.36 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.6703, allocations: 0 / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000416/0.6707, allocations: 157.5 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.6707, allocations: 63.33 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.6708, allocations: 117.8 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.6708, allocations: 29.7 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.6709, allocations: 96.11 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.6709, allocations: 23.73 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.671, allocations: 17.72 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.6711, allocations: 326.8 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.6712, allocations: 59.95 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.6714, allocations: 84.27 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.6717, allocations: 153.9 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6717, allocations: 4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000427/0.6721, allocations: 219.1 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.6722, allocations: 33.7 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6722, allocations: 128 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.6722, allocations: 8 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.6723, allocations: 19.98 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.6723, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.6725, allocations: 47.95 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.6726, allocations: 8 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.694e-05/0.6727, allocations: 130.2 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.6727, allocations: 7.969 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.6727, allocations: 16.38 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6727, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6727, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6728, allocations: 3.984 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.6732, allocations: 390.7 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.6732, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.6733, allocations: 11.98 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6733, allocations: 4 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.6733, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6733, allocations: 4 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.6733, allocations: 4.016 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.6736, allocations: 235.2 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.6737, allocations: 88.95 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.6737, allocations: 0 / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.6738, allocations: 11.98 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.6738, allocations: 11.92 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.6738, allocations: 4 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.6739, allocations: 95.75 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6739, allocations: 4 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002491/0.6741, allocations: 24 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005446/0.6747, allocations: 0.7553 MB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.6751, allocations: 179.3 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6751, allocations: 256 / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.6752, allocations: 51.91 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.6755, allocations: 21.8 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.6774, allocations: 1.719 MB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.6776, allocations: 0.6926 MB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.6776, allocations: 7.859 kB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.6777, allocations: 23.42 kB / 1.032 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.6777, allocations: 0 / 1.032 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.6894, allocations: 2.232 MB / 1.034 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.6896, allocations: 203.7 kB / 1.035 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.377, allocations: 0 / 1.035 GB, free: 3.543 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches