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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001222/0.001222, allocations: 114.7 kB / 16.42 MB, free: 6.5 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.001427/0.001427, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.619/1.619, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 151.6 MB / 1.167 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002206/1.133, allocations: 0.7591 MB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001628/1.135, allocations: 1.154 MB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/1.135, allocations: 0 / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/1.135, allocations: 7.875 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/1.135, allocations: 7.938 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/1.136, allocations: 132.4 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/1.136, allocations: 127.7 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/1.136, allocations: 19.97 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/1.136, allocations: 51.83 kB / 1.17 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/1.136, allocations: 47.81 kB / 1.17 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/1.136, allocations: 16 kB / 1.17 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/1.136, allocations: 20 kB / 1.17 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/1.137, allocations: 11.98 kB / 1.17 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/1.137, allocations: 47.83 kB / 1.17 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/1.137, allocations: 108.6 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.137, allocations: 0 / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/1.137, allocations: 0 / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.65e-06/1.137, allocations: 0 / 1.17 GB, free: 1.52 MB / 0.8887 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.0006212/1.137, allocations: 409 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/1.138, allocations: 20.02 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/1.138, allocations: 8.891 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/1.138, allocations: 172.3 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/1.138, allocations: 8.312 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/1.138, allocations: 4.375 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/1.138, allocations: 66.22 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.138, allocations: 192 / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.138, allocations: 3.938 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.138, allocations: 0 / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/1.138, allocations: 51.94 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/1.139, allocations: 328.7 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/1.139, allocations: 62.55 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/1.139, allocations: 36.97 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/1.139, allocations: 3.938 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/1.139, allocations: 83.36 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 3.367e-06/1.139, allocations: 0 / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.0004843/1.14, allocations: 149.6 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/1.14, allocations: 59.39 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/1.14, allocations: 113.8 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/1.14, allocations: 33.64 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/1.14, allocations: 88.14 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/1.14, allocations: 27.78 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/1.14, allocations: 37.7 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.14, allocations: 318.8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/1.141, allocations: 51.97 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/1.141, allocations: 84.25 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/1.141, allocations: 149.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.141, allocations: 7.938 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004367/1.141, allocations: 203.5 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/1.142, allocations: 37.81 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.142, allocations: 8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.142, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/1.142, allocations: 19.92 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.142, allocations: 3.984 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/1.142, allocations: 35.95 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/1.142, allocations: 4 kB / 1.172 GB, free: 14.6 MB / 0.9044 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.0001297/1.142, allocations: 133.7 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/1.142, allocations: 7.953 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/1.142, allocations: 8.359 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.142, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.142, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/1.142, allocations: 96.94 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/1.142, allocations: 0 / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/1.142, allocations: 7.984 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/1.142, allocations: 15.86 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003214/1.143, allocations: 184.9 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000359/1.143, allocations: 286.7 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001166/1.143, allocations: 43.89 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.658e-05/1.143, allocations: 95.77 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of Backend: time 6.51e-07/1.143, allocations: 0 / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007065/1.144, allocations: 229.7 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005979/1.145, allocations: 0.6004 MB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.004506/1.149, allocations: 1.548 MB / 1.175 GB, free: 11.27 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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