Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001083/0.001083, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001042/0.001042, allocations: 161 kB / 23.82 MB, free: 0.75 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.9987/0.9987, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.916/1.916, allocations: 377.8 MB / 0.6236 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.8116 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.876e-05, allocations: 3.406 kB / 0.8116 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001596/0.001625, allocations: 0.7201 MB / 0.8123 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008494/0.002474, allocations: 0.8557 MB / 0.8131 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.002513, allocations: 0 / 0.8131 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.002546, allocations: 5.156 kB / 0.8131 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.002618, allocations: 0 / 0.8131 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 7.206e-05/0.00269, allocations: 15.98 kB / 0.8132 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.002797, allocations: 48.44 kB / 0.8132 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.002906, allocations: 8 kB / 0.8132 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.003012, allocations: 29.16 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.003056, allocations: 15.97 kB / 0.8133 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.003079, allocations: 4 kB / 0.8133 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.003086, allocations: 6.438 kB / 0.8133 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.003104, allocations: 7.938 kB / 0.8133 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.003132, allocations: 11.98 kB / 0.8133 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.445e-05/0.003217, allocations: 27.91 kB / 0.8133 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.00322, allocations: 4 kB / 0.8133 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003221, allocations: 0 / 0.8133 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.003226, allocations: 0 / 0.8133 GB, free: 14.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003871/0.003613, allocations: 377.7 kB / 0.8137 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.003654, allocations: 8.031 kB / 0.8137 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.003691, allocations: 8.891 kB / 0.8137 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.891e-05/0.00378, allocations: 118.1 kB / 0.8138 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.003793, allocations: 384 / 0.8138 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.003805, allocations: 8.375 kB / 0.8138 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.00395, allocations: 64.44 kB / 0.8139 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003957, allocations: 192 / 0.8139 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.003968, allocations: 4.375 kB / 0.8139 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.003975, allocations: 384 / 0.8139 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.292e-05/0.004008, allocations: 11.94 kB / 0.8139 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.004316, allocations: 260.8 kB / 0.8141 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/0.004399, allocations: 39.52 kB / 0.8142 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.004431, allocations: 15.69 kB / 0.8142 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.004439, allocations: 0.5312 kB / 0.8142 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.004462, allocations: 38.39 kB / 0.8142 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004463, allocations: 0 / 0.8142 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001515/0.004614, allocations: 50.41 kB / 0.8143 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.004644, allocations: 51.41 kB / 0.8143 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.004721, allocations: 166.5 kB / 0.8145 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.004732, allocations: 29.64 kB / 0.8145 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.004782, allocations: 144.2 kB / 0.8147 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.004801, allocations: 7.891 kB / 0.8147 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.004833, allocations: 23.38 kB / 0.8147 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.004951, allocations: 493.3 kB / 0.8152 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.853e-05/0.00497, allocations: 4 kB / 0.8152 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.004983, allocations: 3.984 kB / 0.8152 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.005021, allocations: 20.62 kB / 0.8152 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005023, allocations: 0 / 0.8152 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.461e-05/0.005088, allocations: 49.62 kB / 0.8152 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.005101, allocations: 8.812 kB / 0.8152 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005105, allocations: 0 / 0.8152 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.005118, allocations: 1.062 kB / 0.8152 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.005197, allocations: 11.94 kB / 0.8152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.005202, allocations: 0 / 0.8152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.005227, allocations: 13.22 kB / 0.8153 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.005235, allocations: 8.328 kB / 0.8153 GB, free: 12.57 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.63e-05/0.005301, allocations: 153.4 kB / 0.8154 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.005315, allocations: 4 kB / 0.8154 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.005338, allocations: 11.94 kB / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.005341, allocations: 4.859 kB / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.005345, allocations: 0 / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.005349, allocations: 5.547 kB / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.423e-05/0.005443, allocations: 120.6 kB / 0.8156 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005444, allocations: 0 / 0.8156 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.005474, allocations: 8 kB / 0.8156 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.005476, allocations: 1.188 kB / 0.8156 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.005482, allocations: 0 / 0.8156 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.005484, allocations: 3.938 kB / 0.8156 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005485, allocations: 3.156 kB / 0.8156 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.005593, allocations: 199.8 kB / 0.8158 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.0056, allocations: 4 kB / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.005611, allocations: 3.984 kB / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.005647, allocations: 7.938 kB / 0.8158 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.005686, allocations: 7.984 kB / 0.8158 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.005689, allocations: 0 / 0.8158 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.005728, allocations: 131.5 kB / 0.8159 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005728, allocations: 4.5 kB / 0.8159 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001423/0.00587, allocations: 4 kB / 0.8159 GB, free: 11.85 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.449e-05/0.005945, allocations: 101.2 kB / 0.816 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.822e-05/0.006033, allocations: 19.69 kB / 0.816 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.006035, allocations: 0 / 0.816 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.006058, allocations: 20.45 kB / 0.8161 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.006239, allocations: 4.844 kB / 0.8161 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.006507, allocations: 134.8 kB / 0.8162 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.006542, allocations: 57.81 kB / 0.8162 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.006562, allocations: 4 kB / 0.8162 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.006592, allocations: 12.5 kB / 0.8163 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.006593, allocations: 0 / 0.8163 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.002359/0.008951, allocations: 0.7997 MB / 0.817 GB, free: 10.68 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.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.0684704119339585]