Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.005355/0.005355, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001265/0.001265, allocations: 196.7 kB / 16.67 MB, free: 5.926 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.89 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8673/0.8688, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002187/0.8711, allocations: 0.7429 MB / 1.208 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.8728, allocations: 1.155 MB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.8729, allocations: 4 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.8729, allocations: 3.938 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.65e-05/0.873, allocations: 7.875 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.8736, allocations: 134.6 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.8739, allocations: 123.7 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.874, allocations: 19.94 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.8741, allocations: 51.91 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.8743, allocations: 51.8 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.8743, allocations: 8 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.8744, allocations: 27.98 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.8744, allocations: 4 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.8745, allocations: 47.77 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.8748, allocations: 119.6 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.8748, allocations: 0 / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8748, allocations: 0 / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.8748, allocations: 0 / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007854/0.8756, allocations: 415.2 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.8757, allocations: 12.03 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.8757, allocations: 34.75 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.8758, allocations: 12.84 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.876, allocations: 176.2 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.876, allocations: 4.375 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.876, allocations: 12.38 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.8763, allocations: 70.16 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8763, allocations: 7.938 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.8763, allocations: 0 / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8763, allocations: 0 / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.8765, allocations: 43.95 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.8772, allocations: 344.6 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.8774, allocations: 62.55 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.8775, allocations: 32.95 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.8775, allocations: 0 / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.8778, allocations: 87.36 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.8778, allocations: 0 / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004625/0.8783, allocations: 141.5 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.8783, allocations: 55.48 kB / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.8785, allocations: 117.8 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.8785, allocations: 33.7 kB / 1.211 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.8786, allocations: 100 kB / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.8786, allocations: 15.75 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.8787, allocations: 45.69 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8788, allocations: 322.8 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.879, allocations: 51.95 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.8792, allocations: 88 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.8795, allocations: 146.1 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.8795, allocations: 4 kB / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004307/0.8799, allocations: 211.1 kB / 1.212 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.88, allocations: 33.7 kB / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.88, allocations: 0 / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.88, allocations: 7.984 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.8801, allocations: 11.94 kB / 1.212 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.8801, allocations: 0 / 1.212 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.8803, allocations: 35.95 kB / 1.212 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.8804, allocations: 12.09 kB / 1.212 GB, free: 8.129 MB / 0.9356 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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 0.0001141/0.8805, allocations: 131.1 kB / 1.212 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.8805, allocations: 3.906 kB / 1.212 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.8805, allocations: 12.38 kB / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.8805, allocations: 0 / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8806, allocations: 0 / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8806, allocations: 0 / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.881, allocations: 394.3 kB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8811, allocations: 0 / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.8811, allocations: 7.984 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8811, allocations: 0 / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.8811, allocations: 4 kB / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8812, allocations: 0 / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8812, allocations: 3.938 kB / 1.213 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.8815, allocations: 215.3 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.8815, allocations: 85.02 kB / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.8815, allocations: 3.984 kB / 1.213 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.8816, allocations: 8.062 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.8817, allocations: 11.92 kB / 1.213 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.8817, allocations: 7.984 kB / 1.213 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.8818, allocations: 95.27 kB / 1.213 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8818, allocations: 4 kB / 1.213 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002695/0.8821, allocations: 20 kB / 1.213 GB, free: 7.039 MB / 0.9356 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0006588/0.8827, allocations: 0.7436 MB / 1.214 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.8831, allocations: 179.3 kB / 1.214 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8831, allocations: 3.938 kB / 1.214 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.8833, allocations: 39.97 kB / 1.214 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.8836, allocations: 17.95 kB / 1.214 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.8857, allocations: 1.691 MB / 1.216 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.886, allocations: 0.6885 MB / 1.217 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.886, allocations: 7.984 kB / 1.217 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.8861, allocations: 19.44 kB / 1.217 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.8861, allocations: 0 / 1.217 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.9078, allocations: 2.614 MB / 1.219 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/8.477, allocations: 4.281 kB / 1.219 GB, free: 0.9844 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches