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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.01123/0.01124, allocations: 99.73 kB / 15.73 MB, free: 6.055 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.002258/0.002258, allocations: 199.2 kB / 16.68 MB, free: 5.984 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.589/1.589, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.96/2.96, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 67.89 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4179, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00225/0.4202, allocations: 0.6503 MB / 1.208 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.4214, allocations: 0.8234 MB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.4215, allocations: 7.938 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.4215, allocations: 0 / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.4216, allocations: 7.938 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.4218, allocations: 31.91 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.949e-05/0.4219, allocations: 43.86 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.4221, allocations: 15.97 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/0.4222, allocations: 19.98 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.4223, allocations: 19.92 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.4223, allocations: 4 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.4223, allocations: 7.938 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.4224, allocations: 7.984 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.4224, allocations: 27.91 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.4225, allocations: 39.81 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4225, allocations: 0 / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4226, allocations: 0 / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.4226, allocations: 0 / 1.209 GB, free: 7.953 MB / 0.9669 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.0006318/0.4232, allocations: 359.3 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4233, allocations: 12.03 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.4233, allocations: 4.844 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.4235, allocations: 168.3 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4235, allocations: 4.375 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.4236, allocations: 12.34 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.4238, allocations: 78.19 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4238, allocations: 192 / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4238, allocations: 3.938 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4238, allocations: 0 / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.424, allocations: 47.95 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.4246, allocations: 300.6 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.4248, allocations: 62.53 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.813e-05/0.4249, allocations: 24.92 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4249, allocations: 4 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.4249, allocations: 38.55 kB / 1.21 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.425, allocations: 0 / 1.21 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004195/0.4254, allocations: 109.6 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.4254, allocations: 51.41 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4255, allocations: 105.8 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.4256, allocations: 25.7 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.4256, allocations: 92.05 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.4256, allocations: 7.906 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.4257, allocations: 25.64 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4258, allocations: 310.8 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.426, allocations: 23.97 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-05/0.426, allocations: 23.98 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.4262, allocations: 60.75 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4262, allocations: 0 / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002646/0.4265, allocations: 93.48 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4265, allocations: 4 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4266, allocations: 0 / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4266, allocations: 0 / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.4267, allocations: 11.98 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4267, allocations: 4 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.4268, allocations: 11.98 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4268, allocations: 0 / 1.211 GB, free: 5.688 MB / 0.9669 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 8.997e-05/0.4269, allocations: 117.8 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.427, allocations: 0 / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.427, allocations: 7.891 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.427, allocations: 336 / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.427, allocations: 4 kB / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.427, allocations: 3.938 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4272, allocations: 173.7 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4272, allocations: 7.984 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.4273, allocations: 19.92 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4274, allocations: 0 / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4274, allocations: 7.984 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4274, allocations: 0 / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4274, allocations: 0 / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.4277, allocations: 187.3 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.4278, allocations: 81.05 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.4278, allocations: 4.25 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.4279, allocations: 7.984 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.428, allocations: 11.98 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.428, allocations: 4 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.428, allocations: 83.28 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.428, allocations: 0 / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002296/0.4283, allocations: 8 kB / 1.212 GB, free: 4.871 MB / 0.9669 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.0001503/0.4284, allocations: 109.4 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.4287, allocations: 55.89 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4288, allocations: 4 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.4289, allocations: 27.97 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.4292, allocations: 9.656 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.4296, allocations: 145.2 kB / 1.212 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.4299, allocations: 0.6845 MB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.43, allocations: 4 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.43, allocations: 11.44 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.43, allocations: 0 / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of Templates: time 0.003516/0.4335, allocations: 0.8814 MB / 1.214 GB, free: 2.895 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches