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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00157/0.00157, allocations: 115.5 kB / 16.42 MB, free: 6.504 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.001829/0.001829, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.458/1.458, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437 MB / 0.7112 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 63.91 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176/1.178, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002468/1.18, allocations: 0.6705 MB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001299/1.182, allocations: 0.8414 MB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/1.182, allocations: 0 / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/1.182, allocations: 0 / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/1.182, allocations: 7.938 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/1.182, allocations: 23.92 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/1.182, allocations: 47.84 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/1.183, allocations: 19.97 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/1.183, allocations: 8 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/1.183, allocations: 31.84 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/1.183, allocations: 4 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/1.183, allocations: 4 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/1.183, allocations: 15.97 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/1.183, allocations: 15.94 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/1.183, allocations: 51.8 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.183, allocations: 0 / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/1.183, allocations: 0 / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.183, allocations: 0 / 1.169 GB, free: 2.172 MB / 0.8887 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.0008635/1.184, allocations: 347.3 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/1.184, allocations: 12.02 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/1.184, allocations: 8.844 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/1.184, allocations: 168.3 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/1.184, allocations: 8.375 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/1.184, allocations: 384 / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/1.185, allocations: 66.22 kB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/1.185, allocations: 192 / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/1.185, allocations: 7.938 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.185, allocations: 0 / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/1.185, allocations: 51.94 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/1.186, allocations: 294.5 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/1.186, allocations: 62.48 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/1.186, allocations: 32.91 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/1.186, allocations: 0 / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/1.186, allocations: 34.56 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.186, allocations: 0 / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004654/1.187, allocations: 109.6 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/1.187, allocations: 51.41 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.187, allocations: 105.8 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/1.187, allocations: 25.7 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/1.187, allocations: 100.1 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/1.187, allocations: 11.75 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/1.187, allocations: 17.72 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001865/1.187, allocations: 318.8 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/1.187, allocations: 19.98 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/1.187, allocations: 23.97 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/1.188, allocations: 61.08 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.188, allocations: 3.938 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004026/1.188, allocations: 81.59 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/1.188, allocations: 10.33 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.188, allocations: 4 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.188, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/1.188, allocations: 15.98 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.188, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/1.188, allocations: 11.91 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/1.188, allocations: 4.234 kB / 1.171 GB, free: 15.93 MB / 0.9044 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 0.0001153/1.188, allocations: 113.8 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/1.188, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/1.188, allocations: 11.91 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.189, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.189, allocations: 4 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/1.189, allocations: 77.11 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/1.189, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/1.189, allocations: 11.98 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/1.189, allocations: 15.92 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003455/1.189, allocations: 176.9 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003578/1.189, allocations: 258.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001311/1.19, allocations: 31.97 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.378e-05/1.19, allocations: 87.22 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of Backend: time 5.11e-07/1.19, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004687/1.19, allocations: 110.4 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007226/1.191, allocations: 0.5687 MB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of Templates: time 0.003817/1.195, allocations: 0.9731 MB / 1.173 GB, free: 13.39 MB / 0.9044 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/jenkins1/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