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.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: 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.00154/0.00154, allocations: 117.5 kB / 16.42 MB, free: 6.012 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.001596/0.001596, allocations: 188.6 kB / 17.35 MB, free: 5.625 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.488/1.488, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 71.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002293/1.097, allocations: 0.7377 MB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001667/1.099, allocations: 1.155 MB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/1.099, allocations: 4 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/1.099, allocations: 3.938 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/1.099, allocations: 11.86 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/1.1, allocations: 139 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/1.1, allocations: 127.7 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/1.1, allocations: 15.98 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/1.1, allocations: 43.91 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/1.101, allocations: 47.86 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/1.101, allocations: 8 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/1.101, allocations: 23.98 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/1.101, allocations: 15.92 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/1.101, allocations: 47.84 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/1.101, allocations: 115.7 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.101, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/1.101, allocations: 3.938 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.243e-06/1.101, allocations: 0 / 1.211 GB, free: 11.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007141/1.102, allocations: 410.7 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.102, allocations: 8.031 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/1.102, allocations: 8.844 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/1.102, allocations: 168.3 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1.102, allocations: 8.375 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/1.102, allocations: 12.36 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/1.102, allocations: 58.23 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.102, allocations: 192 / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.102, allocations: 7.875 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/1.102, allocations: 7.984 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/1.103, allocations: 35.97 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/1.103, allocations: 336.7 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/1.103, allocations: 62.48 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/1.104, allocations: 36.95 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/1.104, allocations: 3.938 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/1.104, allocations: 91.36 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.245e-06/1.104, allocations: 0 / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004773/1.104, allocations: 137.5 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/1.104, allocations: 55.41 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/1.105, allocations: 121.8 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/1.105, allocations: 29.7 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/1.105, allocations: 96.19 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/1.105, allocations: 15.75 kB / 1.213 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/1.105, allocations: 41.69 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.105, allocations: 318.8 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/1.105, allocations: 55.89 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/1.105, allocations: 88.25 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/1.106, allocations: 138.2 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.106, allocations: 3.938 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004661/1.106, allocations: 215.1 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/1.106, allocations: 33.7 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.106, allocations: 0 / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.106, allocations: 4 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/1.106, allocations: 20.11 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.106, allocations: 3.938 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/1.106, allocations: 35.86 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/1.106, allocations: 8 kB / 1.213 GB, free: 8.234 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,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 0.0001089/1.107, allocations: 123.5 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/1.107, allocations: 11.91 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/1.107, allocations: 12.38 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.107, allocations: 0 / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/1.107, allocations: 0 / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/1.107, allocations: 77.11 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/1.107, allocations: 11.98 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/1.107, allocations: 4.062 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/1.107, allocations: 11.92 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003435/1.107, allocations: 200.8 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000369/1.108, allocations: 278.7 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001121/1.108, allocations: 35.97 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.954e-05/1.108, allocations: 91.27 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of Backend: time 4.91e-07/1.108, allocations: 0 / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00061/1.108, allocations: 237.7 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006155/1.109, allocations: 0.6121 MB / 1.215 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.004656/1.114, allocations: 1.592 MB / 1.217 GB, free: 4.859 MB / 0.9356 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/jenkins1/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