Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.002256/0.002256, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.994/2.994, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004904, allocations: 12.5 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3791, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001045/0.3802, allocations: 467 kB / 1.058 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3816, allocations: 1.139 MB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.3817, allocations: 0 / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.3817, allocations: 3.938 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.3818, allocations: 7.922 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.3824, allocations: 115.2 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3825, allocations: 91.81 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3826, allocations: 19.89 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3827, allocations: 39.91 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.3828, allocations: 31.89 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.3828, allocations: 8 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.362e-05/0.3829, allocations: 19.92 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.383, allocations: 7.984 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.383, allocations: 37.7 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.3832, allocations: 79.77 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3832, allocations: 0 / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3832, allocations: 0 / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.3832, allocations: 0 / 1.06 GB, free: 3.234 MB / 0.8106 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.0006792/0.3839, allocations: 407 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.384, allocations: 8.031 kB / 1.06 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.384, allocations: 7.906 kB / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3842, allocations: 167.1 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.3842, allocations: 4 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.3843, allocations: 15.95 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3845, allocations: 65.66 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3845, allocations: 0 / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3845, allocations: 8 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3845, allocations: 7.922 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.3847, allocations: 55.89 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.3853, allocations: 332.6 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3855, allocations: 66.61 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3857, allocations: 40.89 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3857, allocations: 0 / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.3859, allocations: 103.4 kB / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.386, allocations: 0 / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.00049/0.3865, allocations: 157.5 kB / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.3865, allocations: 55.34 kB / 1.061 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3867, allocations: 121.8 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3867, allocations: 25.7 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.3868, allocations: 88.14 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.3868, allocations: 23.78 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.3869, allocations: 8 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.387, allocations: 318.8 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.3872, allocations: 59.95 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.3874, allocations: 88.25 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.3876, allocations: 85.69 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.3876, allocations: 3.984 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004418/0.3881, allocations: 211.1 kB / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.3881, allocations: 41.69 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3881, allocations: 4 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3882, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3883, allocations: 15.98 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3883, allocations: 3.938 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.3885, allocations: 55.98 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.3885, allocations: 8 kB / 1.063 GB, free: 376 kB / 0.8106 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.3887, allocations: 129.7 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.3887, allocations: 7.891 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.3887, allocations: 16.31 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3887, allocations: 0 / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3888, allocations: 0 / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3888, allocations: 0 / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.3893, allocations: 390.4 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3893, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.3893, allocations: 8 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3893, allocations: 3.984 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3894, allocations: 8.062 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3894, allocations: 4.391 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3894, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.3897, allocations: 223.3 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.3897, allocations: 81.11 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3898, allocations: 0 / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.3898, allocations: 19.98 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3899, allocations: 7.984 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3899, allocations: 0 / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.39, allocations: 91.27 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.39, allocations: 3.938 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002546/0.3902, allocations: 27.91 kB / 1.064 GB, free: 15.27 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.3904, allocations: 104.1 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.3908, allocations: 191.3 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3908, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3909, allocations: 52.16 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3912, allocations: 18.19 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.3917, allocations: 167.3 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.392, allocations: 0.6926 MB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.3921, allocations: 4 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.3921, allocations: 19.42 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3921, allocations: 0 / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.00413/0.3963, allocations: 1.265 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches