Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002437/0.002437, allocations: 215.1 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.289/3.289, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 71.12 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3556, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001897/0.3575, allocations: 0.6736 MB / 1.355 GB, free: 7.309 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3585, allocations: 0.867 MB / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.3586, allocations: 0 / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.3586, allocations: 3.938 kB / 1.356 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.3587, allocations: 7.938 kB / 1.356 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.3588, allocations: 15.98 kB / 1.356 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3589, allocations: 51.84 kB / 1.356 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.359, allocations: 15.97 kB / 1.356 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.266e-05/0.3591, allocations: 12 kB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.881e-05/0.3592, allocations: 27.84 kB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3592, allocations: 4 kB / 1.356 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.3592, allocations: 7.938 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.3592, allocations: 11.98 kB / 1.356 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.3593, allocations: 19.92 kB / 1.356 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3594, allocations: 51.69 kB / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3594, allocations: 0 / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3594, allocations: 0 / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3594, allocations: 0 / 1.356 GB, free: 6.203 MB / 1.045 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.0005245/0.3599, allocations: 279.8 kB / 1.356 GB, free: 5.898 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3599, allocations: 12.03 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.36, allocations: 0.9375 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3601, allocations: 114.5 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3601, allocations: 12.36 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3601, allocations: 4.375 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.3604, allocations: 66.22 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3604, allocations: 192 / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3604, allocations: 3.938 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3604, allocations: 0 / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.3606, allocations: 51.89 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.361, allocations: 259.8 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.3612, allocations: 62.53 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3613, allocations: 24.92 kB / 1.357 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3613, allocations: 3.938 kB / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3614, allocations: 30.56 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 2.865e-06/0.3614, allocations: 7.984 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004021/0.3618, allocations: 113.6 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3618, allocations: 51.41 kB / 1.357 GB, free: 4.984 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.3619, allocations: 109.8 kB / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3619, allocations: 29.7 kB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.362, allocations: 88.08 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.362, allocations: 7.906 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.362, allocations: 25.7 kB / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3622, allocations: 318.8 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3623, allocations: 23.97 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.3624, allocations: 23.92 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.3625, allocations: 52.75 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3625, allocations: 8 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002325/0.3628, allocations: 81.64 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3628, allocations: 8 kB / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3628, allocations: 0 / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3628, allocations: 0 / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.3629, allocations: 11.98 kB / 1.358 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3629, allocations: 0 / 1.358 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.363, allocations: 11.92 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.363, allocations: 8 kB / 1.358 GB, free: 4.148 MB / 1.045 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 9.204e-05/0.3631, allocations: 122.3 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3631, allocations: 7.953 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.3632, allocations: 4 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3632, allocations: 0 / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3632, allocations: 0 / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3632, allocations: 3.984 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3634, allocations: 156.7 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3634, allocations: 0 / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/0.3634, allocations: 15.98 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3635, allocations: 0 / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3635, allocations: 0 / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.3635, allocations: 4 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3635, allocations: 3.984 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.3638, allocations: 187.3 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.3638, allocations: 4 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3638, allocations: 0 / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3639, allocations: 4 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.3639, allocations: 15.97 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3639, allocations: 256 / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.364, allocations: 95.22 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.364, allocations: 0 / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000218/0.3642, allocations: 4 kB / 1.358 GB, free: 3.461 MB / 1.045 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001002/0.3643, allocations: 103.2 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3646, allocations: 52.31 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3646, allocations: 0 / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3647, allocations: 35.91 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.365, allocations: 5.812 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.3653, allocations: 161.5 kB / 1.359 GB, free: 3.074 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3656, allocations: 0.6806 MB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.3657, allocations: 11.44 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3657, allocations: 0 / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of Templates: time 0.002491/0.3682, allocations: 0.7995 MB / 1.36 GB, free: 1.562 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.474624681985006]