Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.0009904/0.0009898, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.513/1.513, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009809/0.0009813, allocations: 99.83 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.068e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3143, allocations: 142.3 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.345, allocations: 148.3 MB / 1.351 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.345, allocations: 70.38 kB / 1.351 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003898/1.349, allocations: 0.9206 MB / 1.352 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.943e-06/1.349, allocations: 4 kB / 1.352 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.989e-06/1.349, allocations: 0 / 1.352 GB, free: 33.95 MB / 0.8386 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.0004731/1.349, allocations: 341.1 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.349, allocations: 8.969 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/1.35, allocations: 5.953 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/1.35, allocations: 172.4 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/1.35, allocations: 1.969 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/1.35, allocations: 6.594 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001119/1.35, allocations: 22.02 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/1.35, allocations: 52.12 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.35, allocations: 0 / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/1.35, allocations: 0 / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.35, allocations: 1.281 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/1.351, allocations: 267.9 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/1.351, allocations: 50.52 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/1.351, allocations: 15.89 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/1.351, allocations: 2.625 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/1.351, allocations: 31.22 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.644e-06/1.351, allocations: 1.312 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002218/1.351, allocations: 56.14 kB / 1.353 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/1.351, allocations: 61.36 kB / 1.353 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/1.351, allocations: 97.95 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/1.351, allocations: 26.31 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/1.351, allocations: 85.27 kB / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/1.351, allocations: 19.58 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/1.351, allocations: 0 / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.351, allocations: 321.2 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/1.352, allocations: 9.406 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/1.352, allocations: 10.73 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/1.352, allocations: 13.98 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.352, allocations: 0 / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/1.352, allocations: 55.89 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.352, allocations: 5.25 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.352, allocations: 0 / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.352, allocations: 0.9844 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/1.352, allocations: 15.7 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.352, allocations: 0 / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.723e-05/1.352, allocations: 21.44 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/1.352, allocations: 2 kB / 1.353 GB, free: 32.36 MB / 0.8386 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 () * 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 8.324e-05/1.352, allocations: 109.9 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/1.352, allocations: 5.859 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/1.352, allocations: 6.422 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.352, allocations: 1.25 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.352, allocations: 2.203 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.352, allocations: 0 / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/1.353, allocations: 160.7 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.353, allocations: 0.6562 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.353, allocations: 16.67 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.353, allocations: 0 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.353, allocations: 1.953 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.353, allocations: 0.5156 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.353, allocations: 1.312 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/1.353, allocations: 155.1 kB / 1.354 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/1.353, allocations: 86.92 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/1.353, allocations: 2.75 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/1.353, allocations: 7.641 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/1.353, allocations: 19.17 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/1.353, allocations: 1.938 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.598e-05/1.353, allocations: 88.98 kB / 1.354 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.353, allocations: 0 / 1.354 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003673/1.354, allocations: 12.41 kB / 1.354 GB, free: 31.74 MB / 0.8386 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 () * 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.0001546/1.354, allocations: 107.9 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001358/1.354, allocations: 29.36 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.354, allocations: 0 / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/1.354, allocations: 20.81 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/1.354, allocations: 9.188 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/1.355, allocations: 72.95 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/1.355, allocations: 0.6901 MB / 1.355 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.674e-05/1.355, allocations: 1.266 kB / 1.355 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/1.355, allocations: 12.77 kB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.355, allocations: 0 / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.003652/1.359, allocations: 0.6858 MB / 1.356 GB, free: 30.81 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches