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.001554/0.001554, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001825/0.001825, allocations: 181 kB / 23.36 MB, free: 1.129 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.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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 2.522/2.522, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 4.058e-06/4.058e-06, allocations: 4 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/3.195e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001722/0.001754, allocations: 0.7972 MB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.003113, allocations: 1.189 MB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.003164, allocations: 3.938 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.003193, allocations: 7.938 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.003278, allocations: 15.86 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.003678, allocations: 127.6 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.00382, allocations: 123.7 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.08e-05/0.003901, allocations: 8 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.004018, allocations: 59.95 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.004098, allocations: 39.86 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.004118, allocations: 8 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.482e-05/0.004193, allocations: 31.98 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.004469, allocations: 11.92 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.004507, allocations: 31.97 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.004657, allocations: 95.69 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00466, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004661, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.004665, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 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.0003817/0.005046, allocations: 306.4 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.005078, allocations: 12.03 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.005114, allocations: 12.92 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.083e-05/0.005205, allocations: 121.7 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.005215, allocations: 4.375 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.005228, allocations: 8.375 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.005333, allocations: 74.84 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.00534, allocations: 192 / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.005347, allocations: 384 / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.005352, allocations: 384 / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.005377, allocations: 11.94 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.005643, allocations: 180.2 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.274e-05/0.005726, allocations: 46.5 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.005743, allocations: 12.92 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.005751, allocations: 4 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.169e-05/0.005843, allocations: 63.36 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.005844, allocations: 4 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001237/0.005968, allocations: 77.66 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.005997, allocations: 55.41 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.006054, allocations: 114.7 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.006071, allocations: 29.7 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.006109, allocations: 100.1 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.006127, allocations: 15.89 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.006178, allocations: 33.7 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.006254, allocations: 322.8 kB / 0.8427 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.224e-05/0.006306, allocations: 49.69 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.00637, allocations: 85.95 kB / 0.8428 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/0.006462, allocations: 101.9 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.006465, allocations: 0 / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001625/0.006627, allocations: 176.9 kB / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.006662, allocations: 33.7 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.006669, allocations: 3.938 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.006686, allocations: 4 kB / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.006761, allocations: 15.92 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.006765, allocations: 0 / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.879e-05/0.006854, allocations: 27.92 kB / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.006868, allocations: 7.984 kB / 0.8431 GB, free: 9.309 MB / 0.8073 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 7.262e-05/0.00694, allocations: 124.2 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.006952, allocations: 7.984 kB / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.006976, allocations: 16.31 kB / 0.8433 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.006978, allocations: 4 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.006979, allocations: 0 / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006983, allocations: 0 / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.007168, allocations: 222.7 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007169, allocations: 0 / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.007195, allocations: 4 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.007199, allocations: 7.938 kB / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.007204, allocations: 4.062 kB / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.007206, allocations: 4 kB / 0.8435 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.007208, allocations: 3.984 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.306e-05/0.007291, allocations: 155.8 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.0073, allocations: 7.953 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.007316, allocations: 11.92 kB / 0.8437 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.007353, allocations: 4 kB / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.007382, allocations: 3.984 kB / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.007388, allocations: 4 kB / 0.8437 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.967e-05/0.007407, allocations: 24.84 kB / 0.8437 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007407, allocations: 0 / 0.8437 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001569/0.007564, allocations: 23.94 kB / 0.8438 GB, free: 8.641 MB / 0.8073 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.000112/0.007676, allocations: 85.28 kB / 0.8438 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.007823, allocations: 153.9 kB / 0.844 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.007826, allocations: 0 / 0.844 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.007857, allocations: 24.78 kB / 0.844 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.008014, allocations: 20.23 kB / 0.844 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.008275, allocations: 153.2 kB / 0.8442 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.008308, allocations: 55.36 kB / 0.8442 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.00833, allocations: 7.984 kB / 0.8442 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.008419, allocations: 71.36 kB / 0.8443 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.00842, allocations: 0 / 0.8443 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of Templates: time 0.003297/0.01172, allocations: 1.692 MB / 0.846 GB, free: 6.34 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.557075253687799]