Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009764, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00917/0.00917, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003797, allocations: 9.656 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3659, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001336/0.3673, allocations: 0.5435 MB / 1.075 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001809/0.3675, allocations: 39.84 kB / 1.075 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.3676, allocations: 0 / 1.075 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.3676, allocations: 7.922 kB / 1.075 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3677, allocations: 7.938 kB / 1.075 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.785e-05/0.3678, allocations: 16 kB / 1.075 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3679, allocations: 59.78 kB / 1.075 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3681, allocations: 39.97 kB / 1.075 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.3682, allocations: 23.84 kB / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.3682, allocations: 19.86 kB / 1.075 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3683, allocations: 4 kB / 1.075 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.3683, allocations: 0 / 1.075 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.3683, allocations: 7.938 kB / 1.075 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.3684, allocations: 53.45 kB / 1.075 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3685, allocations: 64.02 kB / 1.075 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3685, allocations: 0 / 1.075 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3685, allocations: 0 / 1.075 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3685, allocations: 0 / 1.075 GB, free: 6.648 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004719/0.369, allocations: 375.2 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3691, allocations: 8.031 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.3691, allocations: 8.844 kB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.3694, allocations: 192.2 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3694, allocations: 8.375 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.3694, allocations: 4.375 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3696, allocations: 107.7 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3696, allocations: 192 / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3697, allocations: 11.92 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3697, allocations: 0 / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.3698, allocations: 35.98 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.3704, allocations: 436.6 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.113e-05/0.3704, allocations: 41.27 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.3705, allocations: 21.81 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.3705, allocations: 3.938 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3705, allocations: 30.56 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3705, allocations: 4 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001985/0.3708, allocations: 61.47 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3708, allocations: 77.11 kB / 1.076 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.371, allocations: 165.1 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.371, allocations: 25.7 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.3711, allocations: 103.9 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.3711, allocations: 11.88 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.3711, allocations: 17.97 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3712, allocations: 318.8 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.3713, allocations: 7.984 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.3713, allocations: 17.72 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.3713, allocations: 29.66 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3713, allocations: 0 / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.822e-05/0.3714, allocations: 61.59 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3715, allocations: 4 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3715, allocations: 3.938 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3715, allocations: 4 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.3716, allocations: 7.938 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3716, allocations: 0 / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.3716, allocations: 7.938 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3716, allocations: 0 / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.265e-05/0.3717, allocations: 113.8 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.3717, allocations: 15.95 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.3718, allocations: 15.81 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3718, allocations: 0 / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3718, allocations: 7.938 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.3718, allocations: 0 / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.3722, allocations: 470.7 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3722, allocations: 0 / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.3722, allocations: 8.062 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3722, allocations: 3.938 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.3723, allocations: 4 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3723, allocations: 3.984 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3723, allocations: 0 / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.3724, allocations: 81.78 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.3724, allocations: 93.03 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3724, allocations: 0 / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.3725, allocations: 0 / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.3725, allocations: 4 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.3725, allocations: 0 / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.338e-05/0.3726, allocations: 125.3 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3726, allocations: 0 / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001861/0.3728, allocations: 8 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001362/0.3729, allocations: 99.25 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.373, allocations: 23.92 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.373, allocations: 0 / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.373, allocations: 4 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.3732, allocations: 7.938 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.3736, allocations: 176.9 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3739, allocations: 0.7004 MB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.3739, allocations: 4.438 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.374, allocations: 15.38 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.374, allocations: 4 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of Templates: time 0.00261/0.3766, allocations: 420.7 kB / 1.079 GB, free: 1.656 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)