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.001058/0.001058, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001186/0.001186, allocations: 181 kB / 24.08 MB, free: 424 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 0.9894/0.9894, allocations: 177.1 MB / 204.5 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.904/1.904, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.435e-06/2.435e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.933e-05, allocations: 2.312 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001497/0.001526, allocations: 0.6677 MB / 0.8126 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.002477, allocations: 0.8719 MB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.002523, allocations: 4 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.002555, allocations: 3.938 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.002648, allocations: 12.64 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.002795, allocations: 23.91 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.069e-05/0.002866, allocations: 44.95 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.002979, allocations: 11.98 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.00308, allocations: 23.97 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.003139, allocations: 21.31 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.003162, allocations: 8 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.003173, allocations: 4 kB / 0.8136 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.003195, allocations: 9.797 kB / 0.8136 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.003223, allocations: 15.92 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.003328, allocations: 39.83 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.003331, allocations: 0 / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003332, allocations: 0 / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.003338, allocations: 1.656 kB / 0.8137 GB, free: 15.7 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.0004358/0.003774, allocations: 368.6 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.003825, allocations: 8.031 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.003862, allocations: 8.891 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.003964, allocations: 125.9 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.003984, allocations: 384 / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.003997, allocations: 8.375 kB / 0.8142 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.004152, allocations: 64.83 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.00416, allocations: 4.125 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.00417, allocations: 4.375 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.004179, allocations: 384 / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.912e-05/0.004218, allocations: 15.92 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.004545, allocations: 254.7 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.004628, allocations: 50.98 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.004648, allocations: 15.75 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.004666, allocations: 0 / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.00469, allocations: 37.39 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.004691, allocations: 0.7188 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001513/0.004843, allocations: 54.16 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.004874, allocations: 53.06 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.004945, allocations: 165.9 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.004955, allocations: 25.7 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.005006, allocations: 150.7 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.005022, allocations: 7.938 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.005053, allocations: 20 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.005182, allocations: 497.4 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.005198, allocations: 4 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.005212, allocations: 4 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.005252, allocations: 28.81 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005254, allocations: 4 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.077e-05/0.005324, allocations: 49.64 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.005339, allocations: 9.375 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.005345, allocations: 3.938 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.005357, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.005441, allocations: 17.05 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.005443, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.005466, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.005474, allocations: 12.48 kB / 0.8157 GB, free: 13.48 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 7.903e-05/0.005553, allocations: 153.5 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.00557, allocations: 8.328 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.005596, allocations: 8.781 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.005599, allocations: 0 / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.005602, allocations: 3.984 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.005606, allocations: 5.656 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.005712, allocations: 105.2 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.005715, allocations: 256 / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.005752, allocations: 11.98 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.005755, allocations: 4.875 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.005761, allocations: 4 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.005762, allocations: 2.188 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.005764, allocations: 3.938 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.00588, allocations: 203.8 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.005887, allocations: 0 / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.005896, allocations: 4 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.005931, allocations: 0 / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.005973, allocations: 18.08 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.005976, allocations: 0 / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.006022, allocations: 127.2 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006022, allocations: 4 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000138/0.00616, allocations: 11.95 kB / 0.8163 GB, free: 12.77 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 9.259e-05/0.006253, allocations: 100.2 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.833e-05/0.006331, allocations: 28.95 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.006332, allocations: 0 / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.006361, allocations: 23.67 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.006545, allocations: 12.58 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.006804, allocations: 126.1 kB / 0.8166 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.006837, allocations: 59.34 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.762e-05/0.006864, allocations: 8.031 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.006923, allocations: 74.2 kB / 0.8167 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.006924, allocations: 0 / 0.8167 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.002604/0.009528, allocations: 1.031 MB / 0.8178 GB, free: 11.27 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.031846041791141]