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.411/2.411, allocations: 390.3 MB / 405.3 MB, free: 13.56 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.001495/0.001495, allocations: 177 kB / 498.1 MB, free: 5.785 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.639/1.639, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.0009515/0.0009514, allocations: 92.33 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 10.91 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 142.3 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.4839, allocations: 149 MB / 1.368 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4842, allocations: 71.95 kB / 1.368 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002737/0.4869, allocations: 0.9208 MB / 1.369 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4869, allocations: 0 / 1.369 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.487, allocations: 0 / 1.369 GB, free: 3.387 MB / 0.8698 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.0004669/0.4874, allocations: 351.2 kB / 1.37 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4875, allocations: 8.031 kB / 1.37 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.4875, allocations: 7.891 kB / 1.37 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.4877, allocations: 178.9 kB / 1.37 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.4877, allocations: 4 kB / 1.37 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4877, allocations: 8 kB / 1.37 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.488, allocations: 69.66 kB / 1.37 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.488, allocations: 0 / 1.37 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.488, allocations: 3.984 kB / 1.37 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.488, allocations: 0 / 1.37 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.4882, allocations: 63.94 kB / 1.37 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.4887, allocations: 288.7 kB / 1.37 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.4889, allocations: 70.55 kB / 1.37 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.4889, allocations: 4.062 kB / 1.37 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.489, allocations: 30.56 kB / 1.37 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.489, allocations: 0 / 1.37 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.000448/0.4894, allocations: 133.6 kB / 1.371 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.4895, allocations: 59.34 kB / 1.371 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.4896, allocations: 93 kB / 1.371 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.4896, allocations: 29.7 kB / 1.371 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.4896, allocations: 92.12 kB / 1.371 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.4897, allocations: 7.812 kB / 1.371 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.4897, allocations: 4 kB / 1.371 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4898, allocations: 314.8 kB / 1.371 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4899, allocations: 27.97 kB / 1.371 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.449e-05/0.49, allocations: 27.98 kB / 1.371 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.4901, allocations: 31.97 kB / 1.371 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.4901, allocations: 0 / 1.371 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002413/0.4904, allocations: 101.5 kB / 1.371 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4904, allocations: 4 kB / 1.371 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4904, allocations: 0 / 1.371 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4905, allocations: 4 kB / 1.371 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4906, allocations: 11.98 kB / 1.371 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4906, allocations: 4 kB / 1.371 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.733e-05/0.4907, allocations: 15.94 kB / 1.371 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.4907, allocations: 8 kB / 1.371 GB, free: 1.16 MB / 0.8698 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 9.22e-05/0.4908, allocations: 109.8 kB / 1.371 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.4908, allocations: 7.906 kB / 1.371 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.4909, allocations: 7.906 kB / 1.371 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4909, allocations: 0 / 1.371 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4909, allocations: 3.938 kB / 1.371 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4909, allocations: 0 / 1.371 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.4911, allocations: 177.6 kB / 1.372 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4911, allocations: 0 / 1.372 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.856e-05/0.4912, allocations: 19.98 kB / 1.372 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4912, allocations: 3.938 kB / 1.372 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4912, allocations: 0 / 1.372 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4912, allocations: 0 / 1.372 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4912, allocations: 0 / 1.372 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.4916, allocations: 199.8 kB / 1.372 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.4916, allocations: 89.03 kB / 1.372 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.4916, allocations: 256 / 1.372 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4917, allocations: 12 kB / 1.372 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.4918, allocations: 11.98 kB / 1.372 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.4918, allocations: 3.984 kB / 1.372 GB, free: 436 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.4919, allocations: 83.28 kB / 1.372 GB, free: 352 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4919, allocations: 0 / 1.372 GB, free: 352 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002097/0.4921, allocations: 16 kB / 1.372 GB, free: 336 kB / 0.8698 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.0001234/0.4922, allocations: 99.25 kB / 1.372 GB, free: 224 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.4925, allocations: 71.88 kB / 1.372 GB, free: 152 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4925, allocations: 0 / 1.372 GB, free: 152 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.4926, allocations: 39.97 kB / 1.372 GB, free: 112 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.4928, allocations: 3.953 kB / 1.372 GB, free: 108 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.4932, allocations: 148.6 kB / 1.372 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.4934, allocations: 0.6809 MB / 1.373 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.214e-05/0.4935, allocations: 4 kB / 1.373 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.4935, allocations: 19.36 kB / 1.373 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.4935, allocations: 4 kB / 1.373 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.002679/0.4962, allocations: 0.7216 MB / 1.374 GB, free: 14.48 MB / 0.8855 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