Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001267, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.78 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4299, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002168/0.4321, allocations: 0.6133 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000952/0.4331, allocations: 0.8295 MB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.4331, allocations: 4 kB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.4332, allocations: 3.938 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.4332, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.4334, allocations: 19.86 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.029e-05/0.4335, allocations: 27.92 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.4336, allocations: 11.98 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.138e-05/0.4337, allocations: 11.92 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.4337, allocations: 8 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.4337, allocations: 4 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.4338, allocations: 3.938 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.4338, allocations: 11.98 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.4338, allocations: 7.938 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/0.4339, allocations: 23.94 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4339, allocations: 4 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4339, allocations: 4 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4339, allocations: 0 / 1.07 GB, free: 8.844 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004794/0.4344, allocations: 335.8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4345, allocations: 8.031 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.4345, allocations: 8.938 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.4346, allocations: 164.3 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4347, allocations: 384 / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.4347, allocations: 4.375 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.4349, allocations: 62.16 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4349, allocations: 192 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4349, allocations: 3.938 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4349, allocations: 3.938 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.4351, allocations: 35.97 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.4355, allocations: 249 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.4356, allocations: 46.48 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.696e-05/0.4357, allocations: 24.84 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4358, allocations: 0 / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.4358, allocations: 34.56 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4358, allocations: 0 / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003984/0.4362, allocations: 93.53 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.4362, allocations: 51.41 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.4363, allocations: 97.86 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4363, allocations: 25.7 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.4364, allocations: 84.14 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.4364, allocations: 7.984 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.4364, allocations: 13.84 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.4366, allocations: 314.8 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.4366, allocations: 19.92 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.967e-05/0.4367, allocations: 19.97 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.4369, allocations: 44.89 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4369, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.4371, allocations: 77.44 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4371, allocations: 4 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4372, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4372, allocations: 3.984 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4373, allocations: 8 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4373, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.4374, allocations: 12.02 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4374, allocations: 3.938 kB / 1.072 GB, free: 6.793 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.589e-05/0.4374, allocations: 118.3 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.4375, allocations: 192 / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.4375, allocations: 11.09 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.4375, allocations: 0 / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4375, allocations: 0 / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4375, allocations: 0 / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.4377, allocations: 161.6 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4377, allocations: 4 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.4378, allocations: 11.92 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4378, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4378, allocations: 8 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4378, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.4378, allocations: 4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.4381, allocations: 167.4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.4381, allocations: 81.02 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.4381, allocations: 4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.4382, allocations: 11.92 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.4383, allocations: 4 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4383, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.4383, allocations: 87.27 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4383, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002128/0.4386, allocations: 4 kB / 1.072 GB, free: 6.035 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: 1 (reaToInt.y) * 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.0001266/0.4387, allocations: 100.8 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.4389, allocations: 39.95 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.439, allocations: 0 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.4391, allocations: 19.98 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.4394, allocations: 12.06 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.4397, allocations: 121.3 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.44, allocations: 0.6768 MB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.44, allocations: 0 / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.4401, allocations: 11.44 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4401, allocations: 0 / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of Templates: time 0.002814/0.4429, allocations: 0.5914 MB / 1.074 GB, free: 4.406 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)