Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.869/2.869, allocations: 437.7 MB / 0.7117 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7952/0.7957, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0009863/0.7967, allocations: 384.8 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.7977, allocations: 0.8196 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.7978, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.7978, allocations: 3.938 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.7979, allocations: 11.98 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.7981, allocations: 15.98 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.7982, allocations: 31.92 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.7983, allocations: 23.92 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.7983, allocations: 11.92 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.7984, allocations: 23.91 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.7985, allocations: 3.938 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.7985, allocations: 4 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.7985, allocations: 7.938 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.7985, allocations: 29.7 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.404e-05/0.7986, allocations: 31.91 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7986, allocations: 4 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7986, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7986, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 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.0005062/0.7991, allocations: 345.3 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.7992, allocations: 8.562 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.7992, allocations: 7.906 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.7994, allocations: 171 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.7994, allocations: 8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.7994, allocations: 4 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.7996, allocations: 73.55 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7996, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7996, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7997, allocations: 4 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.7999, allocations: 59.95 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.8003, allocations: 288.7 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.8005, allocations: 70.48 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.8006, allocations: 36.91 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.8006, allocations: 4.062 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.8007, allocations: 38.55 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.8007, allocations: 4 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003971/0.8011, allocations: 117.6 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.8011, allocations: 59.34 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.8012, allocations: 105.8 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.8012, allocations: 29.7 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.8013, allocations: 80.14 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.8013, allocations: 27.67 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.8013, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8015, allocations: 310.8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.8016, allocations: 35.97 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.8017, allocations: 23.98 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.353e-05/0.8018, allocations: 31.92 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8018, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002245/0.802, allocations: 97.66 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.802, allocations: 4 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.802, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8021, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.8022, allocations: 23.91 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.8022, allocations: 3.938 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.8023, allocations: 15.91 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.8023, allocations: 256 / 1.026 GB, free: 12.37 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.55e-05/0.8024, allocations: 121.8 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.8024, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.8025, allocations: 7.906 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.8025, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.8025, allocations: 8 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8025, allocations: 4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.8027, allocations: 169.6 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.8027, allocations: 3.953 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/0.8028, allocations: 15.98 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8028, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.8028, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8028, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.8028, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.8031, allocations: 195.3 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.8031, allocations: 81.06 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.8032, allocations: 4 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.8033, allocations: 15.98 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.8033, allocations: 7.984 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.8033, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.8034, allocations: 91.27 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.913e-06/0.8034, allocations: 0 / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002078/0.8036, allocations: 7.938 kB / 1.026 GB, free: 11.55 MB / 0.7794 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 (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.0001166/0.8037, allocations: 103.2 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.804, allocations: 64.33 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.804, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8041, allocations: 39.91 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.8044, allocations: 15.98 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.8048, allocations: 128.7 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.805, allocations: 0.6809 MB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.933e-05/0.8051, allocations: 8.188 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.8052, allocations: 11.42 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8052, allocations: 0 / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of Templates: time 0.002881/0.808, allocations: 0.7373 MB / 1.028 GB, free: 9.707 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches