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.001182/0.001182, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001281/0.001281, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9935/0.9935, allocations: 177.1 MB / 204.2 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.945/1.945, allocations: 377.9 MB / 0.6236 GB, free: 8.531 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.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.535e-06/2.535e-06, allocations: 0 / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/3.827e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00159/0.001628, allocations: 0.7649 MB / 0.8123 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.00296, allocations: 1.191 MB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.003012, allocations: 1.594 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.003045, allocations: 3.938 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.003121, allocations: 23.73 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.003562, allocations: 128.5 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.00371, allocations: 116.5 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.003807, allocations: 13.66 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.00392, allocations: 67.89 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.701e-05/0.004007, allocations: 35.88 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.004032, allocations: 12 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.004093, allocations: 31.86 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.004116, allocations: 13.5 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.004168, allocations: 31.92 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.00432, allocations: 91.75 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004322, allocations: 0 / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004323, allocations: 1.375 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004327, allocations: 4 kB / 0.814 GB, free: 15.19 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.0006116/0.004939, allocations: 430.1 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.004979, allocations: 13.72 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.005034, allocations: 12.89 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.303e-05/0.005127, allocations: 120.5 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.005144, allocations: 4.375 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.005164, allocations: 8.375 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.005302, allocations: 67.98 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.005312, allocations: 192 / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005322, allocations: 1.188 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.00533, allocations: 384 / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.005368, allocations: 19.88 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.005765, allocations: 312.8 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.005874, allocations: 49.52 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.005912, allocations: 19.81 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.005922, allocations: 3.984 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.006029, allocations: 85.02 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.00603, allocations: 0 / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002057/0.006236, allocations: 97.56 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.006267, allocations: 55.94 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.006349, allocations: 170.6 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.006367, allocations: 33.7 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.006422, allocations: 143.3 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.00644, allocations: 21.47 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.006494, allocations: 47.34 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.006602, allocations: 496.1 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.006679, allocations: 61.67 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-05/0.006762, allocations: 108.1 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.006868, allocations: 126 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.006871, allocations: 0 / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002251/0.007096, allocations: 210.6 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.007133, allocations: 45.62 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.007138, allocations: 0.9375 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.007154, allocations: 0 / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.007233, allocations: 13.28 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.007239, allocations: 7.938 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.4e-05/0.007333, allocations: 24.81 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.007347, allocations: 8 kB / 0.8167 GB, free: 12.15 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 8.349e-05/0.007431, allocations: 168.7 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.007446, allocations: 15.88 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.007473, allocations: 12.44 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007475, allocations: 0 / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.007479, allocations: 0 / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007481, allocations: 3.094 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.00773, allocations: 345.2 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.007732, allocations: 0 / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.007763, allocations: 8 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007764, allocations: 0 / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.007773, allocations: 4 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.007774, allocations: 0 / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.007775, allocations: 0 / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.007909, allocations: 235.8 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.007917, allocations: 5.281 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.007934, allocations: 3.984 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.701e-05/0.007971, allocations: 4 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.008009, allocations: 4.609 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.008017, allocations: 8.562 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.008059, allocations: 131.2 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00806, allocations: 1.188 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001826/0.008242, allocations: 24 kB / 0.8176 GB, free: 11.13 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.0001229/0.008365, allocations: 108.3 kB / 0.8177 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.008565, allocations: 169.3 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008566, allocations: 4.75 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.008607, allocations: 32.08 kB / 0.8179 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.008818, allocations: 14.12 kB / 0.818 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.009118, allocations: 167.9 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.009152, allocations: 59.22 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.009175, allocations: 9.109 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.009202, allocations: 16.5 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.009203, allocations: 1.125 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.003419/0.01262, allocations: 1.574 MB / 0.8197 GB, free: 8.961 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.300153532996774]