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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 191.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.353/3.353, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.94 kB / 1.145 GB, free: 30.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4337, allocations: 174.9 MB / 1.316 GB, free: 9.664 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002128/0.4359, allocations: 0.7363 MB / 1.317 GB, free: 8.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.4375, allocations: 1.166 MB / 1.318 GB, free: 7.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.4376, allocations: 3.938 kB / 1.318 GB, free: 7.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.4376, allocations: 3.938 kB / 1.318 GB, free: 7.742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.4377, allocations: 11.92 kB / 1.318 GB, free: 7.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.4383, allocations: 138.5 kB / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.4385, allocations: 119.8 kB / 1.318 GB, free: 7.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.4386, allocations: 19.97 kB / 1.318 GB, free: 7.461 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.711e-05/0.4387, allocations: 43.86 kB / 1.318 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.4388, allocations: 55.8 kB / 1.318 GB, free: 7.363 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.4389, allocations: 12 kB / 1.318 GB, free: 7.352 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.4389, allocations: 19.98 kB / 1.318 GB, free: 7.332 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.439, allocations: 12 kB / 1.318 GB, free: 7.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.439, allocations: 39.84 kB / 1.318 GB, free: 7.281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.4393, allocations: 115.6 kB / 1.318 GB, free: 7.168 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4393, allocations: 0 / 1.318 GB, free: 7.168 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4393, allocations: 0 / 1.318 GB, free: 7.168 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.4393, allocations: 0 / 1.318 GB, free: 7.168 MB / 1.014 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.0006696/0.44, allocations: 335.8 kB / 1.319 GB, free: 6.801 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.44, allocations: 12.03 kB / 1.319 GB, free: 6.789 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.4401, allocations: 8.891 kB / 1.319 GB, free: 6.781 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4402, allocations: 126.3 kB / 1.319 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.4402, allocations: 4.375 kB / 1.319 GB, free: 6.629 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.4402, allocations: 8.375 kB / 1.319 GB, free: 6.621 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.4404, allocations: 62.22 kB / 1.319 GB, free: 6.555 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4405, allocations: 4.188 kB / 1.319 GB, free: 6.551 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4405, allocations: 3.938 kB / 1.319 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.4405, allocations: 4 kB / 1.319 GB, free: 6.543 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.4407, allocations: 39.95 kB / 1.319 GB, free: 6.504 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.4412, allocations: 303.8 kB / 1.319 GB, free: 6.164 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.4414, allocations: 62.55 kB / 1.319 GB, free: 6.094 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.4415, allocations: 32.95 kB / 1.319 GB, free: 6.059 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.4415, allocations: 7.938 kB / 1.319 GB, free: 6.051 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.4418, allocations: 87.3 kB / 1.32 GB, free: 5.953 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.4418, allocations: 4 kB / 1.32 GB, free: 5.949 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0004983/0.4423, allocations: 133.6 kB / 1.32 GB, free: 5.812 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.4423, allocations: 55.41 kB / 1.32 GB, free: 5.746 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4425, allocations: 117.8 kB / 1.32 GB, free: 5.621 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.4425, allocations: 33.7 kB / 1.32 GB, free: 5.582 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.4426, allocations: 92.09 kB / 1.32 GB, free: 5.488 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.4426, allocations: 27.84 kB / 1.32 GB, free: 5.461 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.4427, allocations: 41.69 kB / 1.32 GB, free: 5.414 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4429, allocations: 314.8 kB / 1.32 GB, free: 5.098 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.443, allocations: 55.95 kB / 1.32 GB, free: 5.043 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.4432, allocations: 88.19 kB / 1.32 GB, free: 4.941 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.4435, allocations: 141.8 kB / 1.321 GB, free: 4.781 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4435, allocations: 4 kB / 1.321 GB, free: 4.777 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004763/0.444, allocations: 207.2 kB / 1.321 GB, free: 4.562 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/0.4441, allocations: 37.69 kB / 1.321 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4441, allocations: 4 kB / 1.321 GB, free: 4.516 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4441, allocations: 0 / 1.321 GB, free: 4.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.4442, allocations: 11.94 kB / 1.321 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4442, allocations: 7.984 kB / 1.321 GB, free: 4.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.4444, allocations: 36.09 kB / 1.321 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.4444, allocations: 12.05 kB / 1.321 GB, free: 4.449 MB / 1.014 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.0001203/0.4445, allocations: 125.6 kB / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.4445, allocations: 7.953 kB / 1.321 GB, free: 4.312 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.4446, allocations: 12.31 kB / 1.321 GB, free: 4.297 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4446, allocations: 0 / 1.321 GB, free: 4.297 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4446, allocations: 4 kB / 1.321 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4446, allocations: 3.938 kB / 1.321 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000501/0.4451, allocations: 353.5 kB / 1.321 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4451, allocations: 0 / 1.321 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.4451, allocations: 15.92 kB / 1.321 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4452, allocations: 4 kB / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.4452, allocations: 0 / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4452, allocations: 0 / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4452, allocations: 400 / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.4455, allocations: 207.4 kB / 1.322 GB, free: 3.656 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.4455, allocations: 11.89 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.4456, allocations: 7.984 kB / 1.322 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.4457, allocations: 4 kB / 1.322 GB, free: 3.633 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.4457, allocations: 11.97 kB / 1.322 GB, free: 3.621 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.4457, allocations: 7.938 kB / 1.322 GB, free: 3.613 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.371e-05/0.4458, allocations: 99.27 kB / 1.322 GB, free: 3.516 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4458, allocations: 0 / 1.322 GB, free: 3.516 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002593/0.4461, allocations: 20 kB / 1.322 GB, free: 3.496 MB / 1.014 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.0001867/0.4463, allocations: 111.7 kB / 1.322 GB, free: 3.379 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.4467, allocations: 159.3 kB / 1.322 GB, free: 3.211 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4467, allocations: 4.25 kB / 1.322 GB, free: 3.207 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.4468, allocations: 31.98 kB / 1.322 GB, free: 3.176 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4472, allocations: 15.92 kB / 1.322 GB, free: 3.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.4476, allocations: 162.8 kB / 1.322 GB, free: 2.973 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.448, allocations: 0.6885 MB / 1.323 GB, free: 2.258 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.448, allocations: 8 kB / 1.323 GB, free: 2.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.4481, allocations: 11.44 kB / 1.323 GB, free: 2.238 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.4481, allocations: 7.938 kB / 1.323 GB, free: 2.23 MB / 1.014 GB Notification: Performance of Templates: time 0.005357/0.4534, allocations: 1.485 MB / 1.324 GB, free: 0.7656 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.680223736912012]