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.001008/0.001008, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009395/0.0009395, allocations: 165 kB / 23.82 MB, free: 0.75 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.9415/0.9415, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.877/1.877, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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.535e-06/2.535e-06, allocations: 0 / 0.8115 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.85e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001957/0.001986, allocations: 0.6822 MB / 0.8122 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003158, allocations: 0.8712 MB / 0.813 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.003203, allocations: 0 / 0.813 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.003238, allocations: 8.969 kB / 0.813 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.003322, allocations: 7.922 kB / 0.813 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.003498, allocations: 27.84 kB / 0.8131 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.003594, allocations: 44.69 kB / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.0037, allocations: 12 kB / 0.8131 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.003799, allocations: 29.59 kB / 0.8131 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.003867, allocations: 15.97 kB / 0.8132 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.003894, allocations: 4 kB / 0.8132 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.003905, allocations: 4 kB / 0.8132 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.003925, allocations: 9.531 kB / 0.8132 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.003956, allocations: 19.91 kB / 0.8132 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.004069, allocations: 23.97 kB / 0.8132 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.004074, allocations: 7.984 kB / 0.8132 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.81e-07/0.004075, allocations: 0.5938 kB / 0.8132 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.004079, allocations: 0 / 0.8132 GB, free: 14.88 MB / 0.7292 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.0004716/0.004551, allocations: 365.1 kB / 0.8136 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.004596, allocations: 12.03 kB / 0.8136 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.004651, allocations: 14.52 kB / 0.8136 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.004782, allocations: 120.5 kB / 0.8137 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.004806, allocations: 384 / 0.8137 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.00482, allocations: 4.375 kB / 0.8137 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.004993, allocations: 67.64 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.005003, allocations: 0.7188 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.005019, allocations: 4.375 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.00503, allocations: 6.016 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.039e-05/0.00509, allocations: 15.94 kB / 0.8138 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.005783, allocations: 275.7 kB / 0.8141 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.005912, allocations: 51.55 kB / 0.8141 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.005952, allocations: 16.3 kB / 0.8141 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.005973, allocations: 4.781 kB / 0.8141 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.006004, allocations: 37.33 kB / 0.8142 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.006006, allocations: 1.156 kB / 0.8142 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002244/0.00623, allocations: 61.66 kB / 0.8142 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.006264, allocations: 51.41 kB / 0.8143 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.006359, allocations: 171.3 kB / 0.8145 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.006373, allocations: 25.7 kB / 0.8145 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.006428, allocations: 130.9 kB / 0.8146 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.006452, allocations: 17.59 kB / 0.8146 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.006493, allocations: 23.36 kB / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.006615, allocations: 496.1 kB / 0.8151 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.006644, allocations: 7.984 kB / 0.8151 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.006665, allocations: 8 kB / 0.8151 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.843e-05/0.006723, allocations: 25.84 kB / 0.8152 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006725, allocations: 0 / 0.8152 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.006836, allocations: 57.62 kB / 0.8152 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.006852, allocations: 10.28 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006857, allocations: 4 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.006871, allocations: 2.781 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.006987, allocations: 15.92 kB / 0.8152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.006994, allocations: 3.984 kB / 0.8152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.007031, allocations: 0 / 0.8152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.007043, allocations: 8.25 kB / 0.8153 GB, free: 12.61 MB / 0.7292 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.709e-05/0.00712, allocations: 152.6 kB / 0.8154 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.007152, allocations: 9.406 kB / 0.8154 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.007182, allocations: 11.98 kB / 0.8154 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.007186, allocations: 4 kB / 0.8154 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.007189, allocations: 3.938 kB / 0.8154 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007192, allocations: 0.5 kB / 0.8154 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.007337, allocations: 125.2 kB / 0.8155 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.00734, allocations: 4 kB / 0.8156 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.007404, allocations: 9.359 kB / 0.8156 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.007408, allocations: 4 kB / 0.8156 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.007418, allocations: 3.938 kB / 0.8156 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.00742, allocations: 2.594 kB / 0.8156 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.007421, allocations: 0 / 0.8156 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.007593, allocations: 199.9 kB / 0.8158 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.007604, allocations: 7.984 kB / 0.8158 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.00762, allocations: 3.938 kB / 0.8158 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.007689, allocations: 4 kB / 0.8158 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.007749, allocations: 12.36 kB / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.007754, allocations: 0.5312 kB / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.007811, allocations: 135.6 kB / 0.8159 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007811, allocations: 0 / 0.8159 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002535/0.008065, allocations: 9.125 kB / 0.8159 GB, free: 11.86 MB / 0.7292 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.0001016/0.008166, allocations: 96.19 kB / 0.816 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.008305, allocations: 31.66 kB / 0.816 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.008307, allocations: 0.8438 kB / 0.816 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.00836, allocations: 23.67 kB / 0.8161 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.008641, allocations: 12.5 kB / 0.8161 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.008967, allocations: 137.8 kB / 0.8162 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.511e-05/0.009002, allocations: 55.36 kB / 0.8163 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.009031, allocations: 11.89 kB / 0.8163 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.009068, allocations: 16.5 kB / 0.8163 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of SimCode: time 8.71e-07/0.009068, allocations: 1.562 kB / 0.8163 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.002525/0.01159, allocations: 1.014 MB / 0.8173 GB, free: 10.44 MB / 0.7292 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: 4.992043179925531]