Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001677/0.001677, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001555/0.001555, allocations: 191.2 kB / 22.23 MB, free: 5.102 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.595/1.595, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.948/2.948, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.89 kB / 1.11 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002433/1.081, allocations: 0.7458 MB / 1.275 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001948/1.083, allocations: 1.16 MB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/1.083, allocations: 4 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/1.083, allocations: 3.938 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/1.083, allocations: 11.86 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/1.084, allocations: 139 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/1.084, allocations: 115.8 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/1.084, allocations: 15.97 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/1.085, allocations: 47.92 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/1.085, allocations: 47.86 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/1.085, allocations: 12 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/1.085, allocations: 27.92 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/1.085, allocations: 8 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/1.085, allocations: 43.84 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/1.085, allocations: 115.3 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.085, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/1.085, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.53e-06/1.085, allocations: 4 kB / 1.277 GB, free: 1.707 MB / 0.9669 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.0007024/1.086, allocations: 346.5 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.086, allocations: 8.031 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/1.086, allocations: 8.938 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/1.086, allocations: 118.4 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/1.086, allocations: 384 / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/1.086, allocations: 12.38 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/1.086, allocations: 58.22 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.086, allocations: 4.188 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/1.086, allocations: 11.94 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.086, allocations: 0 / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/1.087, allocations: 43.89 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/1.087, allocations: 299.8 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/1.087, allocations: 66.48 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/1.088, allocations: 36.95 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/1.088, allocations: 0 / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/1.088, allocations: 87.34 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/1.088, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004539/1.088, allocations: 145.5 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/1.088, allocations: 55.34 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/1.088, allocations: 121.8 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/1.089, allocations: 29.7 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/1.089, allocations: 88.14 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/1.089, allocations: 27.86 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.089, allocations: 45.69 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.089, allocations: 314.8 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/1.089, allocations: 51.95 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/1.089, allocations: 87.12 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/1.09, allocations: 145.8 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.09, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004982/1.09, allocations: 215.2 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/1.09, allocations: 37.69 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.09, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.09, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/1.09, allocations: 12 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.09, allocations: 7.984 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/1.091, allocations: 27.97 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/1.091, allocations: 16.02 kB / 1.279 GB, free: 14.99 MB / 0.9825 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.0001201/1.091, allocations: 125.7 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/1.091, allocations: 7.953 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/1.091, allocations: 8.375 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.091, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.091, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.091, allocations: 64 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/1.091, allocations: 361.4 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.091, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/1.091, allocations: 15.92 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.091, allocations: 0 / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/1.091, allocations: 0 / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.091, allocations: 0 / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.091, allocations: 4 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/1.092, allocations: 215.8 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/1.092, allocations: 3.953 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/1.092, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/1.092, allocations: 11.92 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/1.092, allocations: 11.97 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.092, allocations: 7.938 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.43e-05/1.092, allocations: 91.27 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.092, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000268/1.092, allocations: 24 kB / 1.28 GB, free: 14.04 MB / 0.9825 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.0001529/1.092, allocations: 107.2 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004135/1.093, allocations: 159.3 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.093, allocations: 0 / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/1.093, allocations: 36.17 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/1.093, allocations: 18.89 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/1.094, allocations: 162.7 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/1.094, allocations: 0.6885 MB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.368e-05/1.094, allocations: 4 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/1.094, allocations: 15.44 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/1.094, allocations: 0 / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of Templates: time 0.004916/1.099, allocations: 1.488 MB / 1.283 GB, free: 11.3 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.623583841137588]