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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 115.1 kB / 16.42 MB, free: 6.488 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.001085/0.001085, allocations: 185.7 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8703/0.8717, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001983/0.8737, allocations: 0.6526 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.8748, allocations: 0.8394 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.8749, allocations: 0.9062 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.8749, allocations: 4.453 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.429e-05/0.875, allocations: 5.781 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.8752, allocations: 30.73 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.8753, allocations: 44.02 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.8754, allocations: 12.66 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.8755, allocations: 17.22 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.8756, allocations: 29.62 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.8756, allocations: 4.375 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.8756, allocations: 4.469 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.8757, allocations: 11.53 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.8757, allocations: 21.48 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.8758, allocations: 42.33 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8758, allocations: 1.281 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.32e-07/0.8758, allocations: 3.938 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.8758, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 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.0004568/0.8763, allocations: 347.5 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.8764, allocations: 9.109 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.8764, allocations: 11.06 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.8765, allocations: 172.1 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.8765, allocations: 2.656 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.8765, allocations: 2.5 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.8768, allocations: 64.62 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.8768, allocations: 4.641 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.8768, allocations: 9.031 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8768, allocations: 4.969 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.877, allocations: 55.52 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.8774, allocations: 283.6 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.8776, allocations: 62.14 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.8778, allocations: 32.59 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.8778, allocations: 1 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.8778, allocations: 40.2 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.8778, allocations: 0 / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000425/0.8782, allocations: 109.8 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.8783, allocations: 51.92 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.8783, allocations: 104.8 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.8784, allocations: 27.52 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.8784, allocations: 90.06 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.8784, allocations: 15.02 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.8785, allocations: 19.06 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.8785, allocations: 314.4 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.8786, allocations: 22 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.51e-05/0.8788, allocations: 24 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.879, allocations: 62.42 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.879, allocations: 3.938 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002326/0.8792, allocations: 83.98 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8792, allocations: 5.156 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8792, allocations: 0 / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.8793, allocations: 1.156 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.8794, allocations: 12.66 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8794, allocations: 4.938 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.8795, allocations: 11.27 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.8795, allocations: 1.516 kB / 1.092 GB, free: 2.559 MB / 0.8575 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.211e-05/0.8796, allocations: 116.6 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.8796, allocations: 6.062 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.8796, allocations: 9.594 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8796, allocations: 4.453 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8796, allocations: 1.891 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.8797, allocations: 83.12 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.8797, allocations: 0.6562 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.8798, allocations: 6.641 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.8799, allocations: 15.47 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003009/0.8802, allocations: 169 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000277/0.8804, allocations: 265.3 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001163/0.8806, allocations: 31.16 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.909e-05/0.8806, allocations: 83.14 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of Backend: time 5.21e-07/0.8806, allocations: 0 / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.881, allocations: 111.9 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004241/0.8815, allocations: 0.5688 MB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of Templates: time 0.00391/0.8854, allocations: 0.979 MB / 1.095 GB, free: 1.125 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches