Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.002399/0.002399, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.00181/0.00181, allocations: 165 kB / 23.82 MB, free: 0.7461 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 0.9918/0.9918, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.941/1.941, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.043e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.004597/0.004617, allocations: 0.7684 MB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.005923, allocations: 1.192 MB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.005965, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.005996, allocations: 7.875 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.00607, allocations: 7.922 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.006507, allocations: 133 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.006668, allocations: 119.7 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.006753, allocations: 13.06 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.006866, allocations: 67.88 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.006951, allocations: 43.81 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.006975, allocations: 12.44 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.007033, allocations: 21.36 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.007056, allocations: 11.94 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.007109, allocations: 35.95 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.007273, allocations: 95.75 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007275, allocations: 0.6562 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.72e-07/0.007276, allocations: 0 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.00728, allocations: 1.25 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.003484/0.01076, allocations: 434.1 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.01081, allocations: 8.031 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.01087, allocations: 15.33 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.01098, allocations: 132.4 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.01099, allocations: 4.375 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.01101, allocations: 12.38 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.01116, allocations: 62.94 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.01117, allocations: 192 / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.01118, allocations: 0.875 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.01118, allocations: 5.125 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.01123, allocations: 15.92 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.01167, allocations: 312.8 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.01178, allocations: 51.05 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.01181, allocations: 13.22 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.01182, allocations: 0 / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.01193, allocations: 93.08 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.01193, allocations: 1.938 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002161/0.01215, allocations: 93.62 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.01218, allocations: 51.41 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.01227, allocations: 181.9 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.0123, allocations: 33.62 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.01236, allocations: 136.3 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.01238, allocations: 19.84 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.01245, allocations: 47.34 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.01257, allocations: 0.4884 MB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.01266, allocations: 62.83 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.01276, allocations: 111.1 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.01289, allocations: 125.1 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01289, allocations: 0.875 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002716/0.01317, allocations: 209.6 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.0132, allocations: 38.22 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.0132, allocations: 1.375 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.01321, allocations: 4 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.01328, allocations: 8 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01329, allocations: 0 / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/0.01641, allocations: 33.08 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.01643, allocations: 11.98 kB / 0.8167 GB, free: 12.16 MB / 0.7761 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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 8.387e-05/0.01652, allocations: 165.3 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.01654, allocations: 20.44 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.01656, allocations: 9.344 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01656, allocations: 0 / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01657, allocations: 3.938 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01657, allocations: 0.8438 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.01684, allocations: 345.3 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01684, allocations: 1.281 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.01687, allocations: 8.062 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01687, allocations: 3.984 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.01688, allocations: 0.7188 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01688, allocations: 0 / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01688, allocations: 0.875 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.01703, allocations: 243.8 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.01704, allocations: 5.516 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.01705, allocations: 4 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.01711, allocations: 4 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.01715, allocations: 7.984 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01715, allocations: 5.062 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.0172, allocations: 131.2 kB / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0172, allocations: 0 / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002621/0.01746, allocations: 31.22 kB / 0.8177 GB, free: 11.12 MB / 0.7761 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001119/0.01757, allocations: 103.2 kB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.01779, allocations: 168.7 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01779, allocations: 0 / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.01784, allocations: 32.08 kB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.01811, allocations: 24.27 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.01841, allocations: 162.6 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.01845, allocations: 64.3 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.01848, allocations: 4 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.0185, allocations: 13.16 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.0185, allocations: 2.344 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.006891/0.0254, allocations: 1.756 MB / 0.8199 GB, free: 8.793 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.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.163390455767512]