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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.415/2.415, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 176 kB / 0.4902 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.2 MB / 0.7992 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 100.2 kB / 0.9396 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003846, allocations: 9.25 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3098, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.5052, allocations: 149.8 MB / 1.376 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.5055, allocations: 63.97 kB / 1.376 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.00294/0.5084, allocations: 0.9247 MB / 1.376 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.607e-06/0.5084, allocations: 0 / 1.376 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5085, allocations: 0 / 1.376 GB, free: 14.45 MB / 0.8855 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.0005438/0.509, allocations: 351.2 kB / 1.377 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.5091, allocations: 12.56 kB / 1.377 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.5091, allocations: 0 / 1.377 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.5093, allocations: 178.9 kB / 1.377 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.5093, allocations: 3.938 kB / 1.377 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.5094, allocations: 8 kB / 1.377 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.5096, allocations: 73.59 kB / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5096, allocations: 0 / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.5096, allocations: 4 kB / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.5097, allocations: 0 / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.5099, allocations: 55.95 kB / 1.377 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.5105, allocations: 288.8 kB / 1.377 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.5107, allocations: 70.47 kB / 1.377 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.5107, allocations: 4.031 kB / 1.377 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.5108, allocations: 34.56 kB / 1.378 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.5108, allocations: 3.938 kB / 1.378 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0004585/0.5113, allocations: 129.6 kB / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.5113, allocations: 55.36 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.5114, allocations: 101 kB / 1.378 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.5115, allocations: 25.7 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.5115, allocations: 88.14 kB / 1.378 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.5116, allocations: 7.812 kB / 1.378 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.5116, allocations: 0 / 1.378 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5117, allocations: 322.8 kB / 1.378 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.5118, allocations: 27.98 kB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.691e-05/0.5119, allocations: 27.97 kB / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.512, allocations: 27.98 kB / 1.378 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.512, allocations: 0 / 1.378 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002394/0.5123, allocations: 93.97 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.5123, allocations: 4 kB / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.5123, allocations: 7.922 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5124, allocations: 0 / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.5125, allocations: 23.98 kB / 1.378 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.5125, allocations: 0 / 1.378 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/0.5126, allocations: 20.12 kB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.5126, allocations: 0 / 1.378 GB, free: 12.23 MB / 0.8855 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 (intToRea.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.5127, allocations: 113.8 kB / 1.379 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.5128, allocations: 7.984 kB / 1.379 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.5128, allocations: 7.906 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5128, allocations: 8 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5128, allocations: 0 / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.5128, allocations: 0 / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.513, allocations: 177.5 kB / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.513, allocations: 0 / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.5131, allocations: 15.98 kB / 1.379 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5132, allocations: 0 / 1.379 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.5132, allocations: 8 kB / 1.379 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5132, allocations: 0 / 1.379 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5132, allocations: 0 / 1.379 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.5135, allocations: 195.4 kB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.5136, allocations: 81.11 kB / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5136, allocations: 0 / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.5137, allocations: 11.98 kB / 1.379 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.5138, allocations: 11.98 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5138, allocations: 4 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.5139, allocations: 83.27 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5139, allocations: 0 / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002252/0.5141, allocations: 23.84 kB / 1.379 GB, free: 11.4 MB / 0.8855 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 (intToRea.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.5143, allocations: 100 kB / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.5145, allocations: 71.88 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.5146, allocations: 0 / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.5147, allocations: 31.98 kB / 1.379 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.5149, allocations: 20.56 kB / 1.379 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.5153, allocations: 136.6 kB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.5156, allocations: 0.6848 MB / 1.38 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.953e-05/0.5156, allocations: 8 kB / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.5157, allocations: 11.44 kB / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.5157, allocations: 0 / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of Templates: time 0.002998/0.5187, allocations: 0.7434 MB / 1.381 GB, free: 9.551 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches