Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.195/1.195, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.301/2.301, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.647e-06/3.647e-06, allocations: 0.7656 kB / 0.8794 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.527e-05, allocations: 3.562 kB / 0.8794 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001784/0.001819, allocations: 0.6815 MB / 0.88 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002891, allocations: 0.8797 MB / 0.8809 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.002946, allocations: 0.9375 kB / 0.8809 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.002984, allocations: 3.938 kB / 0.8809 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.676e-05/0.003081, allocations: 2.703 kB / 0.8809 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.003267, allocations: 35.83 kB / 0.8809 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.003371, allocations: 38.88 kB / 0.881 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.003515, allocations: 13.08 kB / 0.881 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.003618, allocations: 31.91 kB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.003682, allocations: 19.97 kB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.003706, allocations: 5.125 kB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.003716, allocations: 4 kB / 0.881 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.003741, allocations: 4 kB / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.003766, allocations: 21.16 kB / 0.8811 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.003871, allocations: 27.91 kB / 0.8811 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.003875, allocations: 3.938 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.073e-06/0.003876, allocations: 1.531 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.003882, allocations: 0 / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004578/0.00434, allocations: 372.6 kB / 0.8815 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.004384, allocations: 8.031 kB / 0.8815 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.004423, allocations: 15.92 kB / 0.8815 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.004545, allocations: 120.5 kB / 0.8816 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.00457, allocations: 4.375 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.004579, allocations: 384 / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.004744, allocations: 62.94 kB / 0.8817 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.004753, allocations: 192 / 0.8817 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.004763, allocations: 384 / 0.8817 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.004769, allocations: 5.062 kB / 0.8817 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.004808, allocations: 19.86 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.005167, allocations: 258.1 kB / 0.8819 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.005268, allocations: 39.05 kB / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.005292, allocations: 11.72 kB / 0.882 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.005313, allocations: 16.47 kB / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.005345, allocations: 34.73 kB / 0.882 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005346, allocations: 0 / 0.882 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001716/0.005518, allocations: 53.58 kB / 0.8821 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.005553, allocations: 61 kB / 0.8821 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.00564, allocations: 165.9 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.005652, allocations: 29.7 kB / 0.8823 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.005707, allocations: 126.9 kB / 0.8824 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.005729, allocations: 19.83 kB / 0.8825 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.005766, allocations: 27.36 kB / 0.8825 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.005908, allocations: 0.4884 MB / 0.883 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.005932, allocations: 7.938 kB / 0.883 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.005947, allocations: 4 kB / 0.883 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.005993, allocations: 23.95 kB / 0.883 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.005995, allocations: 0 / 0.883 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.695e-05/0.006082, allocations: 49.67 kB / 0.883 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.006098, allocations: 7.938 kB / 0.883 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.006104, allocations: 3.938 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.006115, allocations: 4 kB / 0.8831 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.006216, allocations: 11.98 kB / 0.8831 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.006221, allocations: 3.938 kB / 0.8831 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.00625, allocations: 8 kB / 0.8831 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.006257, allocations: 0 / 0.8831 GB, free: 2.102 MB / 0.8386 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 (reaToInt1.y) * 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 9.587e-05/0.006353, allocations: 160.6 kB / 0.8832 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.006373, allocations: 3.953 kB / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.006405, allocations: 15.94 kB / 0.8833 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.006409, allocations: 0 / 0.8833 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.006411, allocations: 4 kB / 0.8833 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.006415, allocations: 0 / 0.8833 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.006531, allocations: 105.2 kB / 0.8834 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.006533, allocations: 0 / 0.8834 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.006583, allocations: 11.98 kB / 0.8834 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.006585, allocations: 0 / 0.8834 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.006592, allocations: 4 kB / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006593, allocations: 0 / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.006595, allocations: 3.938 kB / 0.8834 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.00674, allocations: 191.9 kB / 0.8836 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.006756, allocations: 15.94 kB / 0.8836 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.006766, allocations: 4 kB / 0.8836 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.006808, allocations: 4 kB / 0.8836 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.006857, allocations: 11.92 kB / 0.8836 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.006862, allocations: 4 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.006907, allocations: 135.4 kB / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006907, allocations: 0 / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000144/0.007052, allocations: 4 kB / 0.8837 GB, free: 1.379 MB / 0.8386 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001115/0.007163, allocations: 95.25 kB / 0.8838 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.007267, allocations: 31.67 kB / 0.8838 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.007268, allocations: 0 / 0.8838 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.007306, allocations: 27.61 kB / 0.8839 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.007521, allocations: 4.516 kB / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.007812, allocations: 130.3 kB / 0.884 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.007848, allocations: 51.36 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.00788, allocations: 15.92 kB / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.007949, allocations: 78.2 kB / 0.8841 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of SimCode: time 9.82e-07/0.007949, allocations: 0 / 0.8841 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of Templates: time 0.003157/0.01111, allocations: 1.057 MB / 0.8852 GB, free: 15.84 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.172199039719999]