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.001438/0.001438, 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.001763/0.001763, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.919/1.919, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.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 3.947e-06/3.947e-06, allocations: 0 / 0.8128 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.738e-05, allocations: 2.312 kB / 0.8129 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001634/0.001672, allocations: 0.7196 MB / 0.8136 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009514/0.002623, allocations: 0.8443 MB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.002666, allocations: 0 / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.0027, allocations: 3.938 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.468e-05/0.002795, allocations: 12.55 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 6.314e-05/0.002858, allocations: 17.14 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.869e-05/0.002927, allocations: 35.92 kB / 0.8144 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003027, allocations: 15.92 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.003106, allocations: 21.02 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.003143, allocations: 15.97 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.003162, allocations: 4.781 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.003169, allocations: 4 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.003187, allocations: 7.938 kB / 0.8145 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.003207, allocations: 17.66 kB / 0.8145 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.119e-05/0.003288, allocations: 31.84 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003291, allocations: 0 / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003292, allocations: 0 / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.003296, allocations: 1.531 kB / 0.8146 GB, free: 15.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003675/0.003664, allocations: 376.6 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.003703, allocations: 8.031 kB / 0.8149 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.003729, allocations: 9.984 kB / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.003819, allocations: 116.6 kB / 0.815 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.003829, allocations: 384 / 0.815 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-06/0.003836, allocations: 5.906 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.003953, allocations: 70.94 kB / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.003961, allocations: 4.172 kB / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.003968, allocations: 384 / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.003973, allocations: 2.969 kB / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.003995, allocations: 11.92 kB / 0.8151 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.00424, allocations: 244.4 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.1e-05/0.004311, allocations: 35 kB / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.004336, allocations: 11.69 kB / 0.8154 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.004344, allocations: 0 / 0.8154 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.004368, allocations: 34.02 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.00437, allocations: 4.719 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001363/0.004506, allocations: 45.62 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.004541, allocations: 59.88 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.004617, allocations: 167.6 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.004628, allocations: 25.7 kB / 0.8157 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.004674, allocations: 142.8 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.004692, allocations: 7.953 kB / 0.8159 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.00472, allocations: 19.31 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.004839, allocations: 0.489 MB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.004852, allocations: 4.766 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.004864, allocations: 4 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.00489, allocations: 16.84 kB / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004892, allocations: 0 / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.285e-05/0.004955, allocations: 49.58 kB / 0.8164 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.004968, allocations: 6.344 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.004972, allocations: 1.375 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.004982, allocations: 3.938 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.005057, allocations: 8 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.00506, allocations: 5.734 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.005084, allocations: 8 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.00509, allocations: 4 kB / 0.8165 GB, free: 13.44 MB / 0.7761 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.607e-05/0.005156, allocations: 153.1 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.005173, allocations: 4 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.005193, allocations: 9.031 kB / 0.8166 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.005196, allocations: 7.922 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.005197, allocations: 0 / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.0052, allocations: 0.9062 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.751e-05/0.005298, allocations: 101.2 kB / 0.8167 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005299, allocations: 1.172 kB / 0.8167 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.005335, allocations: 11.98 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005336, allocations: 2.219 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.00534, allocations: 0 / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.005342, allocations: 4 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005343, allocations: 0 / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.00545, allocations: 203.8 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-06/0.005457, allocations: 4 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.005464, allocations: 2.688 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.0055, allocations: 7.984 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.005537, allocations: 11.92 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.005541, allocations: 4 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.005577, allocations: 127.5 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005577, allocations: 0 / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001319/0.005709, allocations: 8 kB / 0.8171 GB, free: 12.74 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: 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 0.0001037/0.005812, allocations: 96.75 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.124e-05/0.005884, allocations: 23.61 kB / 0.8172 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005885, allocations: 0.5 kB / 0.8172 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.005906, allocations: 11.69 kB / 0.8172 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.006093, allocations: 17.48 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.006327, allocations: 134.8 kB / 0.8174 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.006363, allocations: 63.03 kB / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.006383, allocations: 0 / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.006435, allocations: 70.2 kB / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.006436, allocations: 0 / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.002382/0.008818, allocations: 0.8163 MB / 0.8183 GB, free: 11.48 MB / 0.7761 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.313620819244534]