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.0009493/0.0009493, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009864/0.0009864, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.504/2.504, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.323e-06/1.323e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.646e-05, allocations: 12.78 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001331/0.001348, allocations: 0.7094 MB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009213/0.002269, allocations: 0.8703 MB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.002306, allocations: 0 / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.002333, allocations: 7.922 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.643e-05/0.002409, allocations: 3.938 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.002532, allocations: 27.91 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.214e-05/0.002604, allocations: 43.91 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.41e-05/0.002678, allocations: 8 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-05/0.002765, allocations: 35.89 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.002811, allocations: 15.98 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.002829, allocations: 4 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.002838, allocations: 7.938 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.002858, allocations: 15.91 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.002875, allocations: 8 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.002956, allocations: 43.81 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002957, allocations: 0 / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.72e-07/0.002958, allocations: 0 / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.002961, allocations: 4 kB / 0.8404 GB, free: 12.36 MB / 0.8073 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.0002791/0.003241, allocations: 244.9 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.003269, allocations: 8.031 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.003295, allocations: 8.938 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.013e-05/0.003385, allocations: 109.8 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.003402, allocations: 4.375 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.003409, allocations: 384 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.003516, allocations: 70.86 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.003523, allocations: 192 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.003532, allocations: 4.375 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.003537, allocations: 4.375 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.003567, allocations: 19.91 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.003789, allocations: 164.2 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.334e-05/0.003862, allocations: 42.5 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.003886, allocations: 8.859 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.003898, allocations: 0 / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.003922, allocations: 34.56 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.003924, allocations: 0 / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001482/0.004072, allocations: 53.61 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.004108, allocations: 59.34 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.372e-05/0.004172, allocations: 106.8 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.004187, allocations: 29.7 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.004224, allocations: 92 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.004244, allocations: 15.89 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.004275, allocations: 17.72 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.004378, allocations: 314.8 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.004395, allocations: 8 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.004409, allocations: 4 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.004459, allocations: 24.83 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.004462, allocations: 0 / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.989e-05/0.004532, allocations: 50 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.004544, allocations: 7.938 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.004549, allocations: 0 / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.004566, allocations: 3.938 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.004652, allocations: 11.98 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.004655, allocations: 0 / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.00468, allocations: 4 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.004687, allocations: 3.984 kB / 0.8418 GB, free: 10.7 MB / 0.8073 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.871e-05/0.004756, allocations: 113.8 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.004773, allocations: 4 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.004794, allocations: 7.984 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.0048, allocations: 7.938 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.004802, allocations: 0 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.004806, allocations: 0 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.004907, allocations: 69.89 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.00491, allocations: 256 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.004944, allocations: 15.98 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.004946, allocations: 0 / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.004953, allocations: 8 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004954, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.004955, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.005062, allocations: 147.4 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.005074, allocations: 11.94 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.005084, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.005119, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.00517, allocations: 15.92 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.005174, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.454e-05/0.005188, allocations: 16.84 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005188, allocations: 3.938 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000133/0.005321, allocations: 15.94 kB / 0.8423 GB, free: 10.23 MB / 0.8073 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.098e-05/0.005402, allocations: 76.42 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.005479, allocations: 24.78 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.005482, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.005508, allocations: 16.84 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.005684, allocations: 14.06 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.005972, allocations: 132.5 kB / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.006014, allocations: 59.34 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.006049, allocations: 4 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.006117, allocations: 59.36 kB / 0.8426 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of SimCode: time 1.082e-06/0.006118, allocations: 0 / 0.8426 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of Templates: time 0.003041/0.00916, allocations: 0.9654 MB / 0.8436 GB, free: 8.84 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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: 5.492309365887195]