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.001274/0.001274, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001426/0.001426, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9996/0.9996, allocations: 177.1 MB / 204.6 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.997/1.997, allocations: 377.8 MB / 0.6239 GB, free: 8.523 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.904e-06/1.904e-06, allocations: 0 / 0.8115 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.992e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001318/0.001338, allocations: 0.7553 MB / 0.8123 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.002469, allocations: 1.198 MB / 0.8134 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.002519, allocations: 0 / 0.8134 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.002548, allocations: 4.625 kB / 0.8135 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.357e-05/0.002622, allocations: 12.77 kB / 0.8135 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.003014, allocations: 140.2 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.003157, allocations: 120.6 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.003261, allocations: 7.984 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.003371, allocations: 69.14 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.003447, allocations: 39.86 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.00347, allocations: 8 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.003526, allocations: 35.86 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.003546, allocations: 5.906 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.003597, allocations: 39.89 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.003753, allocations: 95.69 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003756, allocations: 4 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003757, allocations: 4 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.00376, allocations: 1.062 kB / 0.814 GB, free: 15.49 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.000511/0.004271, allocations: 422.2 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.004309, allocations: 13.56 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.004363, allocations: 16.88 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.522e-05/0.004448, allocations: 124.5 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004461, allocations: 384 / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.004479, allocations: 13.34 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.004607, allocations: 62.94 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.004614, allocations: 192 / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.004626, allocations: 9.062 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.004633, allocations: 384 / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.004674, allocations: 16.55 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.005069, allocations: 312.4 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.005189, allocations: 55.62 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.005216, allocations: 12.78 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.005224, allocations: 0 / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.005335, allocations: 85.14 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.005336, allocations: 0.5312 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002102/0.005546, allocations: 102.9 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.005578, allocations: 51.41 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.005666, allocations: 185.8 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.005687, allocations: 34.83 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.005741, allocations: 134.9 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.00576, allocations: 15.89 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.005813, allocations: 47.8 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.005972, allocations: 0.4884 MB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.006045, allocations: 58.56 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.006134, allocations: 112.1 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.006235, allocations: 121.8 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.006238, allocations: 5.938 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002107/0.006449, allocations: 208.8 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.006479, allocations: 37.69 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006483, allocations: 0.7812 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.006497, allocations: 4 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.006564, allocations: 15.38 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.00657, allocations: 7.984 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/0.006658, allocations: 28 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.006673, allocations: 8 kB / 0.8167 GB, free: 12.45 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.109e-05/0.006754, allocations: 168.5 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.006766, allocations: 11.89 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.00679, allocations: 12.44 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006792, allocations: 0.625 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.006795, allocations: 0 / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.006799, allocations: 0.5 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.007038, allocations: 342.9 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.00704, allocations: 4 kB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.007066, allocations: 7.984 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007068, allocations: 0 / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.007075, allocations: 0.875 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.007076, allocations: 0 / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007077, allocations: 1.719 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.007203, allocations: 239.8 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.00721, allocations: 7.953 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.007227, allocations: 4 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.007264, allocations: 7.984 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.007303, allocations: 8.75 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.00731, allocations: 3.984 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.007348, allocations: 136.6 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007348, allocations: 0 / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001732/0.007521, allocations: 29.33 kB / 0.8177 GB, free: 11.42 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.0001084/0.00763, allocations: 105.7 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.007823, allocations: 169.5 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007825, allocations: 1.781 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.007864, allocations: 32.08 kB / 0.8179 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.008064, allocations: 16.08 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.008347, allocations: 166.1 kB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.008383, allocations: 67.2 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.008407, allocations: 4 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.008431, allocations: 12.5 kB / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.008432, allocations: 0 / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of Templates: time 0.00324/0.01167, allocations: 1.597 MB / 0.8198 GB, free: 9.242 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.405650228029117]