Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.00132, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 197.9 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.025/3.025, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 66.03 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.367, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002457/0.3695, allocations: 0.7633 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3706, allocations: 0.804 MB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.3707, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.3707, allocations: 3.938 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.3709, allocations: 11.86 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.974e-05/0.3709, allocations: 8 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.371, allocations: 43.91 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3711, allocations: 8 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.459e-05/0.3712, allocations: 15.92 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.3713, allocations: 19.92 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3713, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.3713, allocations: 4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.3713, allocations: 7.984 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.3714, allocations: 15.88 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.862e-05/0.3715, allocations: 47.84 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3715, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.61e-07/0.3715, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.3715, allocations: 4 kB / 1.069 GB, free: 9.109 MB / 0.8262 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.0005634/0.3721, allocations: 359.7 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3721, allocations: 8.031 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.3722, allocations: 8.844 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3723, allocations: 172.2 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3723, allocations: 4.375 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3723, allocations: 384 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3726, allocations: 70.22 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3726, allocations: 192 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3726, allocations: 7.938 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3726, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.3729, allocations: 63.92 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.3734, allocations: 276.8 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.3737, allocations: 54.48 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.3738, allocations: 44.91 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.3739, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3739, allocations: 30.56 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3739, allocations: 0 / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005254/0.3744, allocations: 133.6 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.3745, allocations: 59.41 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.3746, allocations: 109.8 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3746, allocations: 29.64 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3747, allocations: 88.05 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3747, allocations: 7.906 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3747, allocations: 13.72 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3749, allocations: 322.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.375, allocations: 31.97 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3752, allocations: 35.95 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.3754, allocations: 60.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3754, allocations: 3.938 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003053/0.3757, allocations: 105.5 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3758, allocations: 8 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3758, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3758, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3759, allocations: 11.98 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3759, allocations: 4 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.24e-05/0.376, allocations: 11.98 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.376, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 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 8.04e-05/0.3761, allocations: 117.8 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.3761, allocations: 11.89 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.3762, allocations: 3.906 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3762, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3762, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3762, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.3764, allocations: 173.6 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3764, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.163e-05/0.3765, allocations: 19.97 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3765, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.3765, allocations: 3.938 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3765, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3765, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.3768, allocations: 195.4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.3769, allocations: 88.95 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3769, allocations: 3.984 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.377, allocations: 11.98 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.3771, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3771, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.3772, allocations: 91.2 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3772, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002161/0.3774, allocations: 12 kB / 1.072 GB, free: 5.957 MB / 0.8262 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.0001726/0.3776, allocations: 99.25 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.3779, allocations: 71.86 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3779, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.378, allocations: 39.95 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3784, allocations: 11.88 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.3787, allocations: 131.6 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.379, allocations: 0.6848 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.379, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.3791, allocations: 7.438 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.3791, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of Templates: time 0.00266/0.3818, allocations: 0.5493 MB / 1.074 GB, free: 4.309 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1)