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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 194.2 kB / 22.11 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.431/3.431, allocations: 495.8 MB / 0.783 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00205/0.00205, allocations: 64.67 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4312, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001997/0.4332, allocations: 0.7075 MB / 1.307 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.4344, allocations: 0.8199 MB / 1.308 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.4344, allocations: 0 / 1.308 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.4345, allocations: 7.922 kB / 1.308 GB, free: 272 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.4345, allocations: 3.938 kB / 1.308 GB, free: 268 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.199e-05/0.4346, allocations: 15.98 kB / 1.308 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.4347, allocations: 35.92 kB / 1.308 GB, free: 216 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.4348, allocations: 11.98 kB / 1.308 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.4349, allocations: 15.92 kB / 1.308 GB, free: 188 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.435, allocations: 27.91 kB / 1.308 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.435, allocations: 4 kB / 1.308 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.435, allocations: 4 kB / 1.308 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.435, allocations: 11.94 kB / 1.308 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.4351, allocations: 23.86 kB / 1.308 GB, free: 116 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.4352, allocations: 39.81 kB / 1.308 GB, free: 76 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4352, allocations: 0 / 1.308 GB, free: 76 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4352, allocations: 0 / 1.308 GB, free: 76 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4352, allocations: 0 / 1.308 GB, free: 76 kB / 0.9981 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.0006024/0.4358, allocations: 282.2 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4359, allocations: 16.02 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.4359, allocations: 8.891 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.4363, allocations: 114.5 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.4363, allocations: 384 / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.4363, allocations: 4.312 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.4366, allocations: 70.22 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4366, allocations: 4.125 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4366, allocations: 3.938 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4366, allocations: 0 / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.4369, allocations: 75.84 kB / 1.309 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.4374, allocations: 240 kB / 1.309 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.4376, allocations: 58.48 kB / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.4378, allocations: 44.91 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.4378, allocations: 0 / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4379, allocations: 34.5 kB / 1.309 GB, free: 15.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.4379, allocations: 0 / 1.309 GB, free: 15.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006666/0.4385, allocations: 129.6 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4386, allocations: 51.41 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.4387, allocations: 109.8 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4387, allocations: 25.7 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.4388, allocations: 84.14 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.4388, allocations: 11.91 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.4389, allocations: 21.7 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.4391, allocations: 314.8 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.4392, allocations: 27.97 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.4394, allocations: 39.89 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.4397, allocations: 68.78 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4397, allocations: 3.938 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003844/0.4401, allocations: 93.62 kB / 1.31 GB, free: 13.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4401, allocations: 4 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4401, allocations: 4 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4401, allocations: 4 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.4403, allocations: 11.98 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4403, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4404, allocations: 19.94 kB / 1.31 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4404, allocations: 3.984 kB / 1.31 GB, free: 13.94 MB / 1.014 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 0.000106/0.4405, allocations: 122.5 kB / 1.31 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.4405, allocations: 0 / 1.31 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.4405, allocations: 12 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4405, allocations: 4 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4406, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4406, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.4409, allocations: 148.5 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4409, allocations: 3.984 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.441, allocations: 19.98 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.441, allocations: 0 / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.441, allocations: 3.938 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.441, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.441, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.4416, allocations: 203.7 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.4416, allocations: 7.984 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4416, allocations: 0 / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4418, allocations: 11.98 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.4418, allocations: 7.938 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.4418, allocations: 3.984 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001/0.4419, allocations: 91.58 kB / 1.311 GB, free: 13.24 MB / 1.014 GB Notification: Performance of sort global known variables: time 5e-08/0.4419, allocations: 0 / 1.311 GB, free: 13.24 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002384/0.4421, allocations: 4 kB / 1.311 GB, free: 13.23 MB / 1.014 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.0001735/0.4423, allocations: 99.25 kB / 1.311 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.4427, allocations: 71.92 kB / 1.311 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4427, allocations: 0 / 1.311 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.4429, allocations: 35.95 kB / 1.311 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.4433, allocations: 11.88 kB / 1.311 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.4437, allocations: 125.5 kB / 1.311 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.4442, allocations: 0.6807 MB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.4443, allocations: 0 / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.4443, allocations: 11.44 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of SimCode: time 5.82e-07/0.4443, allocations: 0 / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of Templates: time 0.00354/0.4478, allocations: 0.6916 MB / 1.313 GB, free: 11.46 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.752897066064179]