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.001382/0.001382, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001602/0.001602, allocations: 161 kB / 24.16 MB, free: 336 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 1.089/1.089, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.945/1.945, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 3.556e-06/3.556e-06, allocations: 3.984 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.899e-05, allocations: 10.19 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00138/0.001399, allocations: 0.8008 MB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.002875, allocations: 1.2 MB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.002919, allocations: 0.9375 kB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.002946, allocations: 3.938 kB / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.003025, allocations: 8.406 kB / 0.762 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.003398, allocations: 137.4 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.003551, allocations: 115 kB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.003627, allocations: 24.77 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.003739, allocations: 62.91 kB / 0.7624 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.003825, allocations: 42.41 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.003844, allocations: 8 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.003917, allocations: 23.92 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.003938, allocations: 20.56 kB / 0.7625 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.003976, allocations: 33.39 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.004108, allocations: 95.69 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00411, allocations: 0 / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004111, allocations: 0 / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.004114, allocations: 0 / 0.7626 GB, free: 4.02 MB / 0.7136 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.0003559/0.00447, allocations: 307 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.004501, allocations: 12.78 kB / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.004533, allocations: 4.938 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.62e-05/0.00461, allocations: 122.4 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.00462, allocations: 4.375 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.004633, allocations: 10.25 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.709e-05/0.00473, allocations: 62.94 kB / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004737, allocations: 192 / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.004744, allocations: 384 / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004748, allocations: 384 / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.004774, allocations: 21.2 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.005023, allocations: 172.3 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.953e-05/0.005093, allocations: 31.81 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.005119, allocations: 28.98 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.005126, allocations: 1.25 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.865e-05/0.005205, allocations: 63.38 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.005206, allocations: 0 / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001273/0.005333, allocations: 76.84 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.005364, allocations: 59.34 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.541e-05/0.005429, allocations: 122.6 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.005448, allocations: 29.7 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.005482, allocations: 92.12 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.005501, allocations: 23.81 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.005546, allocations: 37.62 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.005617, allocations: 326.8 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.005663, allocations: 49.69 kB / 0.7642 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.005718, allocations: 85.02 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.005796, allocations: 102.2 kB / 0.7643 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005798, allocations: 4 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001352/0.005934, allocations: 166.4 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.005959, allocations: 37.69 kB / 0.7645 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005963, allocations: 0 / 0.7645 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.005978, allocations: 12.58 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.006032, allocations: 8 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.006038, allocations: 13.23 kB / 0.7646 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.006115, allocations: 24 kB / 0.7646 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.006127, allocations: 14.44 kB / 0.7646 GB, free: 1.723 MB / 0.7136 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 6.288e-05/0.00619, allocations: 119.5 kB / 0.7647 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.006199, allocations: 4 kB / 0.7647 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.006219, allocations: 12.44 kB / 0.7647 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.006222, allocations: 3.938 kB / 0.7647 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006223, allocations: 2.938 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.006227, allocations: 3.984 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.006392, allocations: 222.7 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006393, allocations: 0 / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.006419, allocations: 11.98 kB / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006421, allocations: 0 / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006426, allocations: 3.938 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.006427, allocations: 0 / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006428, allocations: 0.625 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.572e-05/0.006504, allocations: 155.5 kB / 0.7651 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.00651, allocations: 9.297 kB / 0.7651 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.006525, allocations: 7.938 kB / 0.7651 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.00656, allocations: 7.984 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.006587, allocations: 9.609 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.00659, allocations: 3.938 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.6e-05/0.006606, allocations: 16.86 kB / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006606, allocations: 0 / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004064/0.007013, allocations: 26.42 kB / 0.7652 GB, free: 1.07 MB / 0.7136 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 9.006e-05/0.007103, allocations: 84.42 kB / 0.7653 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.007237, allocations: 149.8 kB / 0.7654 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.00724, allocations: 4 kB / 0.7654 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.007267, allocations: 22.86 kB / 0.7655 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.007407, allocations: 16.86 kB / 0.7655 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.007631, allocations: 158.4 kB / 0.7656 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.007663, allocations: 63.34 kB / 0.7657 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.007685, allocations: 5.281 kB / 0.7657 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.007757, allocations: 71.36 kB / 0.7658 GB, free: 440 kB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.007758, allocations: 0 / 0.7658 GB, free: 440 kB / 0.7136 GB Notification: Performance of Templates: time 0.003039/0.0108, allocations: 1.654 MB / 0.7674 GB, free: 14.87 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.217086541000754]