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.001236/0.001236, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001218/0.001218, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9535/0.9535, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.878/1.878, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.865e-06/2.865e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.717e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001711/0.001738, allocations: 0.7498 MB / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.002996, allocations: 1.183 MB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.003044, allocations: 0.5625 kB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.003073, allocations: 7.875 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.022e-05/0.003153, allocations: 13.14 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.00354, allocations: 133.5 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.003691, allocations: 123.7 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.003774, allocations: 8 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.00388, allocations: 67.88 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.003956, allocations: 39.88 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.003979, allocations: 13.59 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.004037, allocations: 23.98 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.004062, allocations: 11.92 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.004103, allocations: 31.97 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.004264, allocations: 97.27 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.004267, allocations: 0 / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.803e-06/0.004269, allocations: 4 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.004274, allocations: 0 / 0.8152 GB, free: 14.95 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.0004609/0.004735, allocations: 430.6 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.004776, allocations: 9.344 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.004823, allocations: 16.89 kB / 0.8157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.004929, allocations: 128.4 kB / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.004945, allocations: 8.359 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.004966, allocations: 13.52 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.005081, allocations: 62.94 kB / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.005088, allocations: 192 / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.005096, allocations: 1.75 kB / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005102, allocations: 4.375 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.805e-05/0.00513, allocations: 11.92 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.005444, allocations: 301.8 kB / 0.8162 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.005527, allocations: 39.11 kB / 0.8162 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.005545, allocations: 13.03 kB / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.005552, allocations: 0 / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.506e-05/0.005647, allocations: 81.08 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.005648, allocations: 0 / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001697/0.005817, allocations: 99.89 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.005849, allocations: 51.41 kB / 0.8164 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.005928, allocations: 185.8 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.005948, allocations: 33.7 kB / 0.8167 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.006003, allocations: 134.9 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.006024, allocations: 23.83 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.006079, allocations: 43.84 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.006198, allocations: 0.4889 MB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.006254, allocations: 49.69 kB / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.006327, allocations: 113.3 kB / 0.8175 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.031e-05/0.006417, allocations: 110.2 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006419, allocations: 0 / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002029/0.006622, allocations: 200.9 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.00666, allocations: 45.56 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.006666, allocations: 4.5 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.006673, allocations: 0.5312 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.006738, allocations: 12 kB / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.006742, allocations: 4.703 kB / 0.8178 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.006832, allocations: 24.47 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.006847, allocations: 8.938 kB / 0.8179 GB, free: 11.97 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.463e-05/0.006931, allocations: 171.5 kB / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.006946, allocations: 11.95 kB / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.006969, allocations: 13.47 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00697, allocations: 0 / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.006972, allocations: 0 / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.006976, allocations: 4.844 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.007204, allocations: 314 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007205, allocations: 1.469 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.007235, allocations: 4 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.007239, allocations: 3.938 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.007245, allocations: 4.062 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.007248, allocations: 13.05 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007249, allocations: 0 / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.007368, allocations: 223.8 kB / 0.8186 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.007381, allocations: 21.88 kB / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.007393, allocations: 0 / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.007432, allocations: 4 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.007464, allocations: 7.984 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.00747, allocations: 4 kB / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.007512, allocations: 136.7 kB / 0.8188 GB, free: 11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007512, allocations: 0 / 0.8188 GB, free: 11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001803/0.007693, allocations: 23.94 kB / 0.8188 GB, free: 10.98 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.0001124/0.007805, allocations: 108.3 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.007962, allocations: 157.6 kB / 0.819 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007963, allocations: 1.625 kB / 0.819 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.007996, allocations: 31.55 kB / 0.8191 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.008194, allocations: 21.11 kB / 0.8191 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.00846, allocations: 167.9 kB / 0.8193 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.008496, allocations: 63.2 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.008526, allocations: 8.641 kB / 0.8193 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.00861, allocations: 90.84 kB / 0.8194 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.008611, allocations: 0 / 0.8194 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.003479/0.01209, allocations: 1.793 MB / 0.8212 GB, free: 8.523 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.11113578081131]