Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 91.53 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.01017/0.01017, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.579/1.579, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.117/3.117, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003745, allocations: 14.53 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3534, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00112/0.3546, allocations: 0.5436 MB / 1.075 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001328/0.3547, allocations: 39.78 kB / 1.075 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.3548, allocations: 4 kB / 1.075 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.3549, allocations: 7.922 kB / 1.075 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.3549, allocations: 3.938 kB / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.022e-05/0.355, allocations: 19.98 kB / 1.075 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.3551, allocations: 47.86 kB / 1.075 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3553, allocations: 43.91 kB / 1.075 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.3554, allocations: 23.8 kB / 1.075 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.3554, allocations: 19.86 kB / 1.075 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.3554, allocations: 4 kB / 1.075 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.3554, allocations: 0 / 1.075 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.3555, allocations: 7.938 kB / 1.075 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.3555, allocations: 57.44 kB / 1.075 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.371e-05/0.3556, allocations: 64.03 kB / 1.075 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3556, allocations: 0 / 1.075 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3556, allocations: 4 kB / 1.075 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3557, allocations: 0 / 1.075 GB, free: 6.656 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.0004355/0.3561, allocations: 363.3 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3561, allocations: 8.031 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.3562, allocations: 12.84 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.3564, allocations: 196.1 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3565, allocations: 16.38 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3565, allocations: 4.375 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3567, allocations: 101.4 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3567, allocations: 192 / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3567, allocations: 3.938 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3567, allocations: 3.938 kB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.3568, allocations: 35.98 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.3574, allocations: 436.6 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.3575, allocations: 45.2 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.3575, allocations: 17.78 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.3575, allocations: 4 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3575, allocations: 38.59 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3576, allocations: 0 / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001903/0.3578, allocations: 57.47 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3578, allocations: 77.11 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.358, allocations: 165.3 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.358, allocations: 29.7 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.3581, allocations: 103.9 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.3581, allocations: 11.89 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.3581, allocations: 13.72 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3583, allocations: 314.8 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.3583, allocations: 7.984 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.3583, allocations: 21.72 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.287e-05/0.3584, allocations: 29.66 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3584, allocations: 0 / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.039e-05/0.3585, allocations: 61.53 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3585, allocations: 4 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3585, allocations: 8.031 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3585, allocations: 3.984 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.3586, allocations: 4 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3586, allocations: 3.938 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.3587, allocations: 12 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.3587, allocations: 0 / 1.077 GB, free: 4.227 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.905e-05/0.3588, allocations: 113.8 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.3588, allocations: 11.89 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.3588, allocations: 15.81 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3588, allocations: 0 / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3589, allocations: 0 / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3589, allocations: 4 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.3593, allocations: 470.7 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3593, allocations: 7.938 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.3593, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3593, allocations: 4 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.3593, allocations: 3.984 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3593, allocations: 0 / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3594, allocations: 0 / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.178e-05/0.3594, allocations: 85.84 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.3595, allocations: 89 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3595, allocations: 0 / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.223e-05/0.3596, allocations: 4 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.3596, allocations: 0 / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3596, allocations: 4 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.672e-05/0.3597, allocations: 125.3 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3597, allocations: 4.031 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001929/0.3599, allocations: 8 kB / 1.078 GB, free: 3.18 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.0001282/0.36, allocations: 95.25 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.595e-05/0.3601, allocations: 23.92 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3601, allocations: 0 / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.3601, allocations: 4 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.3603, allocations: 12.19 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.3607, allocations: 176.6 kB / 1.078 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3609, allocations: 0.6965 MB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.361, allocations: 4.438 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.361, allocations: 11.44 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.361, allocations: 0 / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.002636/0.3637, allocations: 432.5 kB / 1.079 GB, free: 1.668 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)