Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001006/0.001006, allocations: 81.95 kB / 21.47 MB, free: 3.035 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.00105/0.00105, allocations: 165.7 kB / 24.87 MB, free: 8.883 MB / 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 0.958/0.958, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.925/1.925, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.995e-06/2.995e-06, allocations: 0 / 0.8127 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.193e-05, allocations: 3 kB / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002039/0.002071, allocations: 0.6723 MB / 0.8134 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003235, allocations: 0.8749 MB / 0.8143 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.003286, allocations: 4.938 kB / 0.8143 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.003318, allocations: 3.938 kB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.965e-05/0.003408, allocations: 6.219 kB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.003551, allocations: 23.91 kB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.495e-05/0.003626, allocations: 51.84 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.003721, allocations: 8 kB / 0.8144 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.63e-05/0.003797, allocations: 27.95 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.003846, allocations: 19.92 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.003869, allocations: 5.344 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.003877, allocations: 4 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.003895, allocations: 7.984 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.003916, allocations: 15.92 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.024e-05/0.003996, allocations: 41.42 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.003999, allocations: 0 / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004, allocations: 0 / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004004, allocations: 0 / 0.8145 GB, free: 15.73 MB / 0.7761 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.000338/0.004342, allocations: 373.3 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.004374, allocations: 8.031 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.004408, allocations: 9.422 kB / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.259e-05/0.004491, allocations: 109.9 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.004507, allocations: 4.375 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.004515, allocations: 4.375 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.004633, allocations: 71.39 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.00464, allocations: 1.562 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004647, allocations: 384 / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.004652, allocations: 384 / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.004683, allocations: 23.91 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.004947, allocations: 257.5 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/0.005024, allocations: 50.98 kB / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.005042, allocations: 12.97 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.005053, allocations: 0 / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.005074, allocations: 37.39 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.005075, allocations: 1.219 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000136/0.005211, allocations: 57.66 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.005237, allocations: 52.12 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.005306, allocations: 165.9 kB / 0.8157 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.005317, allocations: 31.36 kB / 0.8157 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.005362, allocations: 142.8 kB / 0.8158 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.005378, allocations: 7.938 kB / 0.8158 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.005407, allocations: 27.36 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.005513, allocations: 496.1 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.005529, allocations: 6.609 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.005542, allocations: 4 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.005579, allocations: 27.94 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.005581, allocations: 0 / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.717e-05/0.005648, allocations: 49.64 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.005661, allocations: 8 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.005666, allocations: 4.438 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.005675, allocations: 0.5312 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.005757, allocations: 17.86 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.00576, allocations: 0 / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.005786, allocations: 4 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005791, allocations: 0 / 0.8164 GB, free: 13.52 MB / 0.7761 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 6.878e-05/0.00586, allocations: 160.6 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.005879, allocations: 5.812 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.0059, allocations: 7.938 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.005903, allocations: 3.984 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005904, allocations: 0 / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005906, allocations: 4.781 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.326e-05/0.006, allocations: 105.2 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006001, allocations: 3.938 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.006035, allocations: 8.531 kB / 0.8167 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.006036, allocations: 0.9062 kB / 0.8167 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.006042, allocations: 4 kB / 0.8167 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006043, allocations: 4.766 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.006046, allocations: 4.188 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.006158, allocations: 201.1 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.006166, allocations: 0 / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.006175, allocations: 8 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.006213, allocations: 4.828 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.006254, allocations: 15.92 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006257, allocations: 1.219 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.006292, allocations: 127.2 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006292, allocations: 4 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001416/0.006434, allocations: 7.953 kB / 0.8171 GB, free: 12.8 MB / 0.7761 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 8.318e-05/0.006517, allocations: 107.2 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.841e-05/0.006595, allocations: 28.55 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006597, allocations: 0 / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.006626, allocations: 24.8 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.006812, allocations: 8 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.007046, allocations: 127.4 kB / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.007085, allocations: 55.36 kB / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.007117, allocations: 6.094 kB / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.007184, allocations: 82.19 kB / 0.8175 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.007185, allocations: 0.5 kB / 0.8175 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.002616/0.0098, allocations: 1.046 MB / 0.8185 GB, free: 11.29 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.175873753149062]