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.001883/0.001883, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.002129/0.002129, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 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.3/2.3, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.7961, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001712/0.7978, allocations: 0.6678 MB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000753/0.7986, allocations: 0.8391 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.7986, allocations: 1.062 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.7987, allocations: 4.594 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.7987, allocations: 5.703 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.7989, allocations: 22.81 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.656e-05/0.799, allocations: 40.05 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.7991, allocations: 20.67 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.7991, allocations: 22.36 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.7992, allocations: 20.22 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.7992, allocations: 4.031 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.7992, allocations: 4.281 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.7993, allocations: 13.03 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.7993, allocations: 20.98 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.385e-05/0.7994, allocations: 43.11 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7994, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7994, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7994, allocations: 4 kB / 1.09 GB, free: 4.348 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.0004195/0.7998, allocations: 351.7 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7999, allocations: 10.41 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.7999, allocations: 3 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.189e-05/0.8, allocations: 167.7 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.8, allocations: 6.719 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.8, allocations: 2.312 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.8002, allocations: 73.09 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8003, allocations: 4.125 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.8003, allocations: 5.688 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8003, allocations: 0 / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.8005, allocations: 52.08 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.8008, allocations: 282.5 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.801, allocations: 66.78 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.8012, allocations: 28.86 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.8012, allocations: 0.6562 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.8012, allocations: 40.39 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.8012, allocations: 0 / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004004/0.8016, allocations: 113 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.8016, allocations: 53.28 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.8017, allocations: 108.9 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.8017, allocations: 31.02 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.8017, allocations: 82.66 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.8018, allocations: 18.28 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.8018, allocations: 15.83 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.8018, allocations: 321.3 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.802, allocations: 22.23 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.331e-05/0.8021, allocations: 24.52 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.8023, allocations: 62.73 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8023, allocations: 0 / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000227/0.8025, allocations: 88.08 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.8025, allocations: 4.625 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.8025, allocations: 0 / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.8025, allocations: 2.047 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.8027, allocations: 11.98 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8027, allocations: 1.094 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.8027, allocations: 6.25 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.8028, allocations: 3.078 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 5.198e-05/0.8028, allocations: 120.5 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.8028, allocations: 8.938 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.8029, allocations: 10.34 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.8029, allocations: 5 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8029, allocations: 0 / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.8029, allocations: 1.781 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.803, allocations: 177.4 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.803, allocations: 0 / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/0.8031, allocations: 13.59 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8031, allocations: 4 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.8032, allocations: 1.453 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8032, allocations: 0.7812 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8032, allocations: 1.609 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.8034, allocations: 179.2 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.8034, allocations: 82.95 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.8035, allocations: 1.766 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.8036, allocations: 10.53 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.8036, allocations: 14.92 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.8036, allocations: 2.781 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.621e-05/0.8037, allocations: 89.47 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8037, allocations: 0 / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002158/0.8039, allocations: 6.875 kB / 1.093 GB, free: 1.867 MB / 0.8575 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 8.033e-05/0.804, allocations: 105.4 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.8042, allocations: 56.08 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8042, allocations: 0 / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.8044, allocations: 32.7 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.8046, allocations: 11.78 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.8049, allocations: 150 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.761e-05/0.805, allocations: 0.6852 MB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.8051, allocations: 12.09 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.8051, allocations: 0 / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of Templates: time 0.002234/0.8073, allocations: 0.7945 MB / 1.095 GB, free: 0.8516 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