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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 177.1 MB / 203.1 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.44/3.44, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.295e-06/2.295e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.218e-05, allocations: 6.391 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00204/0.002072, allocations: 0.7389 MB / 0.8782 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.004127, allocations: 1.171 MB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.004188, allocations: 0 / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.004217, allocations: 3.938 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.004312, allocations: 14.75 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.004834, allocations: 143.5 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.005052, allocations: 112.8 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.005174, allocations: 15.97 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.005341, allocations: 64.55 kB / 0.8797 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.005451, allocations: 35.94 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.005489, allocations: 13.59 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.005577, allocations: 23.98 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.005607, allocations: 11.92 kB / 0.8798 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.005678, allocations: 31.97 kB / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.005929, allocations: 134.1 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.005935, allocations: 4 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005935, allocations: 0 / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.00594, allocations: 0 / 0.8799 GB, free: 4.16 MB / 0.8386 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.0007094/0.006649, allocations: 433.8 kB / 0.8803 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.006694, allocations: 12.02 kB / 0.8803 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.006766, allocations: 12.89 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.006902, allocations: 122.6 kB / 0.8805 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.006921, allocations: 8.312 kB / 0.8805 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.006946, allocations: 8.375 kB / 0.8805 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.007139, allocations: 58.17 kB / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.007149, allocations: 192 / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.007164, allocations: 5.094 kB / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.007168, allocations: 384 / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.007312, allocations: 37.56 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.007868, allocations: 307.7 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.008075, allocations: 68.22 kB / 0.8809 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/0.008164, allocations: 27.81 kB / 0.881 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.008182, allocations: 8 kB / 0.881 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.008384, allocations: 96.91 kB / 0.8811 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.008385, allocations: 0 / 0.8811 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004132/0.008798, allocations: 129.7 kB / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.008851, allocations: 51.41 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.009037, allocations: 193.8 kB / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.00907, allocations: 29.7 kB / 0.8815 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.009172, allocations: 134.9 kB / 0.8816 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.009202, allocations: 23.83 kB / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.009301, allocations: 51.36 kB / 0.8817 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002796/0.00958, allocations: 0.4923 MB / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.009768, allocations: 81.67 kB / 0.8822 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.009998, allocations: 136.1 kB / 0.8823 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.01027, allocations: 148 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01028, allocations: 3.938 kB / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004947/0.01077, allocations: 252.9 kB / 0.8827 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.01082, allocations: 40.28 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01083, allocations: 4 kB / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01084, allocations: 3.938 kB / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01094, allocations: 11.94 kB / 0.8828 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.01095, allocations: 4.312 kB / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.01113, allocations: 32.05 kB / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.01115, allocations: 8.062 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 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.0001433/0.01129, allocations: 165.1 kB / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.01133, allocations: 23.88 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.01136, allocations: 12.44 kB / 0.883 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01136, allocations: 0 / 0.883 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01137, allocations: 0 / 0.883 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01137, allocations: 3.938 kB / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.01186, allocations: 365.4 kB / 0.8834 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01186, allocations: 4 kB / 0.8834 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.0119, allocations: 4 kB / 0.8834 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01191, allocations: 0 / 0.8834 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01192, allocations: 8 kB / 0.8834 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01192, allocations: 3.938 kB / 0.8834 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.01193, allocations: 3.984 kB / 0.8834 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.01228, allocations: 251.9 kB / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.01229, allocations: 11.89 kB / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.01231, allocations: 3.938 kB / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.01238, allocations: 8 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.01244, allocations: 15.97 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01244, allocations: 0 / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.705e-05/0.01254, allocations: 139.2 kB / 0.8838 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01254, allocations: 0 / 0.8838 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000267/0.01281, allocations: 24 kB / 0.8838 GB, free: 15.79 MB / 0.8542 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.0001795/0.01299, allocations: 103.2 kB / 0.8839 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004188/0.01341, allocations: 216.7 kB / 0.8841 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01341, allocations: 4.25 kB / 0.8841 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.01352, allocations: 39.66 kB / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.01381, allocations: 25.23 kB / 0.8842 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.01426, allocations: 170.8 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.01435, allocations: 75.19 kB / 0.8844 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.01439, allocations: 4 kB / 0.8844 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.01442, allocations: 16.5 kB / 0.8845 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.01442, allocations: 0 / 0.8845 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of Templates: time 0.005518/0.01994, allocations: 1.579 MB / 0.886 GB, free: 13.53 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] 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: 8.632353516062722]