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.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001447/0.001447, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.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.49/2.49, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.792/0.7932, allocations: 140.4 MB / 0.9489 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002255/0.7955, allocations: 0.7225 MB / 0.9496 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.7967, allocations: 0.8289 MB / 0.9504 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.7968, allocations: 0 / 0.9504 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.7969, allocations: 3.938 kB / 0.9504 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.797, allocations: 1.375 kB / 0.9504 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.7972, allocations: 16.11 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.248e-05/0.7973, allocations: 45.72 kB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.7974, allocations: 17.48 kB / 0.9505 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.54e-05/0.7975, allocations: 14.86 kB / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.7976, allocations: 26.73 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.7976, allocations: 6.688 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.7976, allocations: 2.75 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.7976, allocations: 9.344 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.7977, allocations: 24 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.7978, allocations: 38.73 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7978, allocations: 0 / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7978, allocations: 1.375 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.7978, allocations: 4 kB / 0.9506 GB, free: 7.793 MB / 0.7169 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.0005376/0.7984, allocations: 345.9 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.7984, allocations: 9.625 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.7985, allocations: 7.594 kB / 0.951 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.7987, allocations: 175 kB / 0.9512 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.7987, allocations: 5.75 kB / 0.9512 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.7987, allocations: 3.125 kB / 0.9512 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.799, allocations: 72.08 kB / 0.9512 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.799, allocations: 192 / 0.9512 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.799, allocations: 3.938 kB / 0.9512 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.799, allocations: 9.297 kB / 0.9512 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.7992, allocations: 50.08 kB / 0.9513 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.7997, allocations: 285.4 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.7999, allocations: 60.72 kB / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.8, allocations: 35.97 kB / 0.9517 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.8001, allocations: 0 / 0.9517 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.8001, allocations: 35.94 kB / 0.9517 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.8001, allocations: 0 / 0.9517 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004369/0.8005, allocations: 112.7 kB / 0.9518 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.8006, allocations: 52.12 kB / 0.9518 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.8007, allocations: 105.7 kB / 0.9519 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.8007, allocations: 25.7 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.8008, allocations: 91.16 kB / 0.9521 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.8008, allocations: 12.98 kB / 0.9521 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.8008, allocations: 17.78 kB / 0.9521 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.141e-05/0.8009, allocations: 320.2 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.801, allocations: 28.8 kB / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.8011, allocations: 23.41 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.8013, allocations: 55.38 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8014, allocations: 0 / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002515/0.8016, allocations: 92.23 kB / 0.9526 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.8016, allocations: 7 kB / 0.9526 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8017, allocations: 0 / 0.9526 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8017, allocations: 1.5 kB / 0.9526 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.8018, allocations: 12.61 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.8018, allocations: 3.938 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.8019, allocations: 8.328 kB / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.8019, allocations: 1.25 kB / 0.9526 GB, free: 5.844 MB / 0.7169 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 7.611e-05/0.802, allocations: 120.1 kB / 0.9527 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.8021, allocations: 1.812 kB / 0.9527 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.8021, allocations: 8.938 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.8021, allocations: 0 / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.8021, allocations: 1.438 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8021, allocations: 0 / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.8023, allocations: 183.4 kB / 0.9529 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8023, allocations: 0 / 0.9529 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.671e-05/0.8024, allocations: 20.77 kB / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.8024, allocations: 1.562 kB / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.8024, allocations: 0 / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.8024, allocations: 0 / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8024, allocations: 1.5 kB / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.8027, allocations: 187.2 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.8028, allocations: 82.38 kB / 0.9532 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.8028, allocations: 5.5 kB / 0.9532 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.8029, allocations: 6.688 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.803, allocations: 8.703 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.803, allocations: 4.922 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.803, allocations: 83.94 kB / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.803, allocations: 0 / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002462/0.8033, allocations: 7.062 kB / 0.9533 GB, free: 5.117 MB / 0.7169 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.000132/0.8034, allocations: 100.1 kB / 0.9534 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.8037, allocations: 58.44 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8037, allocations: 3.938 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.8039, allocations: 34.97 kB / 0.9535 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.8043, allocations: 10.56 kB / 0.9535 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.8048, allocations: 139.9 kB / 0.9536 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.8049, allocations: 0.6808 MB / 0.9543 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.242e-05/0.805, allocations: 3.656 kB / 0.9543 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.8051, allocations: 9.969 kB / 0.9543 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/0.8051, allocations: 4 kB / 0.9543 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.004037/0.8091, allocations: 0.7605 MB / 0.9551 GB, free: 3.734 MB / 0.7169 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/jenkins/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