Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.001003/0.001003, 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.001013/0.001013, 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.9503/0.9503, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.88/1.88, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.173e-05, allocations: 4.422 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001625/0.001657, allocations: 0.7509 MB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.002862, allocations: 1.198 MB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.002912, allocations: 4 kB / 0.8134 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.002942, allocations: 7.922 kB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.003009, allocations: 12.55 kB / 0.8135 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.003463, allocations: 132.5 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.003628, allocations: 120.4 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.00372, allocations: 8.875 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.003831, allocations: 67.88 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.003969, allocations: 41.12 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.003992, allocations: 12 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.004048, allocations: 16 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.004071, allocations: 19.91 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.004121, allocations: 33.69 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.004284, allocations: 103.7 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004286, allocations: 0 / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004287, allocations: 0 / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.004292, allocations: 1.25 kB / 0.814 GB, free: 15.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004676/0.00476, allocations: 430.1 kB / 0.8144 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004798, allocations: 12.03 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.004851, allocations: 10.42 kB / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.004935, allocations: 116.6 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.004951, allocations: 4.359 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.00497, allocations: 12.38 kB / 0.8146 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.005102, allocations: 59.78 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005109, allocations: 4.125 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.00512, allocations: 5.25 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.005127, allocations: 4.375 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.005165, allocations: 16.48 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.005567, allocations: 312.4 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.005671, allocations: 48.27 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.005701, allocations: 19.81 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.005708, allocations: 0 / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.005817, allocations: 81.56 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.005818, allocations: 1.125 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002087/0.006027, allocations: 101.5 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.00606, allocations: 51.41 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/0.006151, allocations: 178.8 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.006168, allocations: 29.7 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.006348, allocations: 142.9 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.006367, allocations: 16.44 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.006426, allocations: 48.44 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.00653, allocations: 496.1 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.006607, allocations: 65.67 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.006691, allocations: 109.9 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.006796, allocations: 118.2 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006798, allocations: 4 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002181/0.007016, allocations: 204.9 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.007048, allocations: 41.62 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.007052, allocations: 0.5625 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.007065, allocations: 4 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.007139, allocations: 15.38 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.007144, allocations: 0 / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.734e-05/0.007241, allocations: 35.84 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.007255, allocations: 8 kB / 0.8167 GB, free: 12.52 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,change.y,change.u,$PRE.change.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.746e-05/0.007333, allocations: 166.5 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.007353, allocations: 15.88 kB / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.007376, allocations: 12.94 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.007379, allocations: 0.5 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.007382, allocations: 0 / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.007385, allocations: 0.5625 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.00763, allocations: 346.7 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007631, allocations: 64 / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.007659, allocations: 12 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007661, allocations: 0 / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.00767, allocations: 4.547 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.007672, allocations: 0.6562 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007673, allocations: 0 / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.007797, allocations: 241.7 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-06/0.007805, allocations: 4 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.007822, allocations: 0 / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.007862, allocations: 4 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.0079, allocations: 11.98 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.007905, allocations: 0.8125 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.007947, allocations: 135.2 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007947, allocations: 0.9375 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001884/0.008136, allocations: 23.94 kB / 0.8176 GB, free: 11.49 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.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.0001221/0.008258, allocations: 112.6 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.008457, allocations: 165.6 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008459, allocations: 0 / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.008497, allocations: 29.64 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.008704, allocations: 19.92 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.00907, allocations: 166.7 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.009117, allocations: 65.8 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.009146, allocations: 7.984 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.009176, allocations: 12.5 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.009176, allocations: 0 / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.003982/0.01316, allocations: 1.578 MB / 0.8197 GB, free: 9.324 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.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.127572037046775]