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.001063/0.001063, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001057/0.001057, allocations: 173 kB / 23.49 MB, free: 1.059 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.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.286/2.286, allocations: 429.5 MB / 0.6736 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] 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 3.907e-06/3.907e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.631e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002086/0.002122, allocations: 0.759 MB / 0.8789 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.003782, allocations: 1.185 MB / 0.8801 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.003852, allocations: 3.938 kB / 0.8801 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.003892, allocations: 5.062 kB / 0.8801 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.003993, allocations: 8.156 kB / 0.8801 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.004582, allocations: 141.1 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.004792, allocations: 115.8 kB / 0.8804 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.004918, allocations: 13.89 kB / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.005055, allocations: 63.94 kB / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.00515, allocations: 39.83 kB / 0.8805 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.005175, allocations: 8 kB / 0.8805 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.005247, allocations: 23.97 kB / 0.8805 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.005275, allocations: 10.62 kB / 0.8805 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.005333, allocations: 35.91 kB / 0.8806 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.005551, allocations: 99.73 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.005555, allocations: 0 / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/0.005557, allocations: 0 / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.005563, allocations: 0 / 0.8806 GB, free: 4.121 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.000596/0.006159, allocations: 430.1 kB / 0.8811 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.006206, allocations: 8.75 kB / 0.8811 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.006273, allocations: 16.89 kB / 0.8811 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.006383, allocations: 126.1 kB / 0.8812 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.006401, allocations: 4.375 kB / 0.8812 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.00642, allocations: 4.375 kB / 0.8812 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.006592, allocations: 62.94 kB / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.0066, allocations: 5.531 kB / 0.8813 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006611, allocations: 4.375 kB / 0.8813 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.006619, allocations: 384 / 0.8813 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.006661, allocations: 19.92 kB / 0.8813 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.007102, allocations: 307.7 kB / 0.8816 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.007234, allocations: 43.05 kB / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.007273, allocations: 23.86 kB / 0.8817 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.007285, allocations: 3.984 kB / 0.8817 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.007421, allocations: 84.88 kB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.007423, allocations: 0 / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002468/0.00767, allocations: 93.67 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.007717, allocations: 59.41 kB / 0.8819 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.007815, allocations: 181.9 kB / 0.8821 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.007837, allocations: 29.7 kB / 0.8821 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.007899, allocations: 134.9 kB / 0.8822 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.007923, allocations: 19.89 kB / 0.8822 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.007987, allocations: 47.3 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.00811, allocations: 496.1 kB / 0.8828 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.008201, allocations: 61.69 kB / 0.8828 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.008294, allocations: 108.1 kB / 0.8829 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.008411, allocations: 124 kB / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.008416, allocations: 4 kB / 0.883 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002514/0.008667, allocations: 208.8 kB / 0.8832 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.00871, allocations: 37.7 kB / 0.8833 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.008716, allocations: 0 / 0.8833 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.008733, allocations: 4 kB / 0.8833 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.008836, allocations: 11.98 kB / 0.8833 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.008843, allocations: 4.188 kB / 0.8833 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.008951, allocations: 31.88 kB / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.008969, allocations: 11.98 kB / 0.8833 GB, free: 1.074 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 9.286e-05/0.009062, allocations: 164.5 kB / 0.8835 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.009081, allocations: 15.89 kB / 0.8835 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.009112, allocations: 12.44 kB / 0.8835 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.009115, allocations: 0 / 0.8835 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.009119, allocations: 0 / 0.8835 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.009124, allocations: 3.984 kB / 0.8835 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.009446, allocations: 341.6 kB / 0.8838 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.009448, allocations: 0 / 0.8838 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.009493, allocations: 7.984 kB / 0.8839 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.009496, allocations: 7.938 kB / 0.8839 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.009507, allocations: 4 kB / 0.8839 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009508, allocations: 0 / 0.8839 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.00951, allocations: 0 / 0.8839 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.009661, allocations: 235.8 kB / 0.8841 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.009674, allocations: 7.953 kB / 0.8841 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.009697, allocations: 7.938 kB / 0.8841 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.009747, allocations: 11.98 kB / 0.8841 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.009794, allocations: 7.984 kB / 0.8841 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.009801, allocations: 0 / 0.8841 GB, free: 192 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.029e-05/0.009852, allocations: 139.7 kB / 0.8843 GB, free: 52 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009852, allocations: 0 / 0.8843 GB, free: 52 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002119/0.01006, allocations: 24 kB / 0.8843 GB, free: 28 kB / 0.8386 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.0001983/0.01026, allocations: 103.2 kB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.01054, allocations: 160.9 kB / 0.8845 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.01054, allocations: 12.06 kB / 0.8845 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.695e-05/0.01059, allocations: 27.61 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.01085, allocations: 20.44 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.01126, allocations: 158.8 kB / 0.8847 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.12e-05/0.0113, allocations: 59.34 kB / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.01134, allocations: 7.859 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.01137, allocations: 16.5 kB / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of SimCode: time 1.303e-06/0.01137, allocations: 0 / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.00459/0.01596, allocations: 1.617 MB / 0.8864 GB, free: 13.82 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.042104043066502]