Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009395/0.0009395, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000977/0.000977, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9899/0.9899, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.481/2.481, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.473e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002213/0.002247, allocations: 0.8013 MB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.004012, allocations: 1.182 MB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.004067, allocations: 0 / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.004101, allocations: 11.86 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.022e-05/0.004191, allocations: 11.88 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.00467, allocations: 135.5 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.004863, allocations: 119.8 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.004956, allocations: 11.98 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.005106, allocations: 59.95 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.005209, allocations: 43.86 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.005238, allocations: 8 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.005326, allocations: 20 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.00535, allocations: 11.92 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.005402, allocations: 35.95 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.005584, allocations: 95.7 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.005595, allocations: 3.984 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.392e-06/0.005597, allocations: 0 / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.005601, allocations: 0 / 0.8411 GB, free: 11.59 MB / 0.8073 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.0004545/0.006056, allocations: 302.4 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.006094, allocations: 12.03 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.00614, allocations: 12.92 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.006246, allocations: 121.7 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.006259, allocations: 384 / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.006277, allocations: 12.31 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.006416, allocations: 70.92 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006425, allocations: 192 / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.006435, allocations: 4.359 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.006441, allocations: 384 / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.006478, allocations: 11.94 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.006829, allocations: 180.2 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.006938, allocations: 38.5 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.006962, allocations: 8.859 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.006975, allocations: 11.98 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.0071, allocations: 67.44 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/0.007102, allocations: 4 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001721/0.007274, allocations: 77.66 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.00731, allocations: 55.41 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.007393, allocations: 118.7 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.007421, allocations: 33.7 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.007476, allocations: 96.06 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.007499, allocations: 7.906 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.007575, allocations: 41.69 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002711/0.007846, allocations: 322.8 kB / 0.8427 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-05/0.007926, allocations: 49.69 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.008016, allocations: 85.97 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.008138, allocations: 101.8 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.008141, allocations: 0 / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002265/0.008367, allocations: 169 kB / 0.8431 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.00841, allocations: 41.81 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.008419, allocations: 7.938 kB / 0.8431 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.008435, allocations: 4 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.008523, allocations: 15.92 kB / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.008527, allocations: 0 / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.008656, allocations: 27.92 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.00868, allocations: 7.984 kB / 0.8432 GB, free: 9.281 MB / 0.8073 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 8.421e-05/0.008764, allocations: 117.8 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.008779, allocations: 8 kB / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.008808, allocations: 20.3 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.008812, allocations: 7.938 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.008814, allocations: 0 / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008817, allocations: 0 / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.009065, allocations: 214.8 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.009067, allocations: 3.984 kB / 0.8435 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.009113, allocations: 7.938 kB / 0.8435 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.009118, allocations: 3.938 kB / 0.8435 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.009125, allocations: 4 kB / 0.8435 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.009127, allocations: 4 kB / 0.8435 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009128, allocations: 0 / 0.8435 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.009251, allocations: 147.9 kB / 0.8437 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.009266, allocations: 11.95 kB / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.009287, allocations: 7.922 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.009363, allocations: 4 kB / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.0094, allocations: 3.984 kB / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.009409, allocations: 8 kB / 0.8437 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.552e-05/0.009434, allocations: 20.83 kB / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.009434, allocations: 0 / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002571/0.009691, allocations: 20 kB / 0.8437 GB, free: 8.629 MB / 0.8073 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.0001366/0.009828, allocations: 92.3 kB / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.01004, allocations: 157.9 kB / 0.844 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01004, allocations: 0 / 0.844 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.01008, allocations: 16.86 kB / 0.844 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01031, allocations: 16.86 kB / 0.844 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.01065, allocations: 161.4 kB / 0.8442 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.449e-05/0.01069, allocations: 59.34 kB / 0.8442 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.406e-05/0.01073, allocations: 4 kB / 0.8442 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.01084, allocations: 75.28 kB / 0.8443 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.01084, allocations: 0 / 0.8443 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of Templates: time 0.004901/0.01574, allocations: 1.688 MB / 0.846 GB, free: 6.324 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.379425602965057]