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.001309/0.001309, allocations: 81.95 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.001865/0.001865, allocations: 166 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 1.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.962/1.962, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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.986e-06/2.986e-06, allocations: 0 / 0.8128 GB, free: 312 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.203e-05, allocations: 10.16 kB / 0.8128 GB, free: 304 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001535/0.001567, allocations: 0.7462 MB / 0.8135 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.002864, allocations: 1.185 MB / 0.8147 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.002923, allocations: 3.938 kB / 0.8147 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.002958, allocations: 8.5 kB / 0.8147 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.003048, allocations: 16.84 kB / 0.8147 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.003508, allocations: 128.6 kB / 0.8148 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.003679, allocations: 123.7 kB / 0.8149 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.003772, allocations: 16.55 kB / 0.815 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.003889, allocations: 64.77 kB / 0.815 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.003969, allocations: 35.88 kB / 0.8151 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.003993, allocations: 12 kB / 0.8151 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.004055, allocations: 28.7 kB / 0.8151 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.004081, allocations: 15.97 kB / 0.8151 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.004124, allocations: 33.61 kB / 0.8151 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.004264, allocations: 91.75 kB / 0.8152 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004266, allocations: 0 / 0.8152 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004268, allocations: 0 / 0.8152 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.004272, allocations: 5.469 kB / 0.8152 GB, free: 13.8 MB / 0.7292 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.0004526/0.004725, allocations: 430.1 kB / 0.8156 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.004762, allocations: 12.03 kB / 0.8157 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.004805, allocations: 8.938 kB / 0.8157 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.004897, allocations: 126.1 kB / 0.8158 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.004911, allocations: 384 / 0.8158 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.004929, allocations: 12.36 kB / 0.8158 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.00505, allocations: 66.92 kB / 0.8159 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.005061, allocations: 4.719 kB / 0.8159 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.005068, allocations: 2 kB / 0.8159 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005075, allocations: 4.375 kB / 0.8159 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.675e-05/0.005101, allocations: 11.88 kB / 0.8159 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.005733, allocations: 292.3 kB / 0.8162 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.815e-05/0.005821, allocations: 43.8 kB / 0.8162 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.005845, allocations: 24.3 kB / 0.8162 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.005852, allocations: 0.6875 kB / 0.8162 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.745e-05/0.00595, allocations: 77.98 kB / 0.8163 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.005951, allocations: 0 / 0.8163 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001686/0.00612, allocations: 93.56 kB / 0.8164 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.006158, allocations: 56.72 kB / 0.8164 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.00623, allocations: 177.9 kB / 0.8166 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.006249, allocations: 33.7 kB / 0.8166 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.006305, allocations: 136.6 kB / 0.8168 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.006328, allocations: 23.81 kB / 0.8168 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.00638, allocations: 43.34 kB / 0.8168 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.006511, allocations: 0.4961 MB / 0.8173 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.006575, allocations: 53.69 kB / 0.8174 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.006649, allocations: 101.2 kB / 0.8175 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.006747, allocations: 123.2 kB / 0.8176 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006749, allocations: 0 / 0.8176 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001927/0.006942, allocations: 192.9 kB / 0.8178 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.00697, allocations: 37.7 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.006975, allocations: 3.938 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.006986, allocations: 5.25 kB / 0.8178 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.007044, allocations: 11.98 kB / 0.8178 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.007048, allocations: 3.938 kB / 0.8178 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.513e-05/0.007133, allocations: 21.17 kB / 0.8179 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.007148, allocations: 15.98 kB / 0.8179 GB, free: 10.83 MB / 0.7292 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.705e-05/0.007225, allocations: 161.4 kB / 0.818 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.007239, allocations: 13.05 kB / 0.818 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.007263, allocations: 16.38 kB / 0.818 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007265, allocations: 0 / 0.818 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.007267, allocations: 2.438 kB / 0.8181 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.007273, allocations: 3.984 kB / 0.8181 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.007507, allocations: 317.9 kB / 0.8184 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007508, allocations: 4 kB / 0.8184 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.007538, allocations: 4 kB / 0.8184 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.007541, allocations: 3.938 kB / 0.8184 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.007547, allocations: 4.516 kB / 0.8184 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007549, allocations: 0.7188 kB / 0.8184 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.00755, allocations: 0 / 0.8184 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.007665, allocations: 224.8 kB / 0.8186 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.007676, allocations: 15.94 kB / 0.8186 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.007689, allocations: 4.875 kB / 0.8186 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.521e-05/0.007725, allocations: 4 kB / 0.8186 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.007754, allocations: 7.984 kB / 0.8186 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.00776, allocations: 5.219 kB / 0.8186 GB, free: 10 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.464e-05/0.007805, allocations: 135.1 kB / 0.8188 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007805, allocations: 4 kB / 0.8188 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001884/0.007993, allocations: 24.84 kB / 0.8188 GB, free: 9.84 MB / 0.7292 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.0001256/0.008119, allocations: 108.3 kB / 0.8189 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.00829, allocations: 156.7 kB / 0.819 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.008292, allocations: 0 / 0.819 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.008327, allocations: 32.06 kB / 0.8191 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.008519, allocations: 9.281 kB / 0.8191 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.008799, allocations: 175.8 kB / 0.8192 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.00883, allocations: 56.33 kB / 0.8193 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.008853, allocations: 7.984 kB / 0.8193 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.008935, allocations: 90.84 kB / 0.8194 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.008936, allocations: 0 / 0.8194 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of Templates: time 0.003215/0.01215, allocations: 1.765 MB / 0.8211 GB, free: 7.43 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 -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.251462667714804]