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.001347/0.001348, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00183/0.00183, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.434/2.434, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 55.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8691/0.8705, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002083/0.8726, allocations: 0.7197 MB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.8735, allocations: 0.8396 MB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.8736, allocations: 0 / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.8736, allocations: 1.094 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.8737, allocations: 3.938 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.8739, allocations: 16.45 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.847e-05/0.8739, allocations: 47 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.8741, allocations: 9.406 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.8741, allocations: 30.44 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.8742, allocations: 27.31 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.8742, allocations: 4.438 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.8742, allocations: 4.406 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.8743, allocations: 9.219 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.8743, allocations: 22.34 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.06e-05/0.8744, allocations: 44.27 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8744, allocations: 0 / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8744, allocations: 1.562 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.8744, allocations: 0 / 0.9508 GB, free: 7.715 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.0004283/0.8749, allocations: 345.8 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8749, allocations: 10.31 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.875, allocations: 6.438 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.8751, allocations: 175.7 kB / 0.9513 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.8751, allocations: 1.125 kB / 0.9513 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.8751, allocations: 6.125 kB / 0.9514 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.8753, allocations: 68.31 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.8753, allocations: 1.781 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8753, allocations: 7.938 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8753, allocations: 1.688 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.8755, allocations: 56.98 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.8759, allocations: 281.1 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.876, allocations: 70.34 kB / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.8762, allocations: 34.41 kB / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.8762, allocations: 0 / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.8762, allocations: 35.91 kB / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.8762, allocations: 0 / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003802/0.8766, allocations: 112.8 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.8766, allocations: 53.03 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.8767, allocations: 105.7 kB / 0.9521 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.8767, allocations: 25.7 kB / 0.9522 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.8767, allocations: 86.3 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.8768, allocations: 16.98 kB / 0.9523 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.8768, allocations: 17.97 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.8768, allocations: 319.8 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.787e-05/0.8769, allocations: 20.58 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.621e-05/0.877, allocations: 28.39 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.8772, allocations: 58.44 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8772, allocations: 0 / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002235/0.8775, allocations: 89.22 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.8775, allocations: 6 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.8775, allocations: 0 / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8775, allocations: 7.922 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.8776, allocations: 13.67 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8776, allocations: 0 / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.8777, allocations: 4.031 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.8777, allocations: 5.281 kB / 0.9528 GB, free: 5.762 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 5.428e-05/0.8778, allocations: 120.5 kB / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.8778, allocations: 5.438 kB / 0.9529 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.8778, allocations: 9.094 kB / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.8779, allocations: 0 / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8779, allocations: 1.406 kB / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8779, allocations: 0 / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.878, allocations: 175.2 kB / 0.9531 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.878, allocations: 0 / 0.9531 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.8781, allocations: 13.61 kB / 0.9531 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8781, allocations: 0 / 0.9531 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.8781, allocations: 5.375 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.8781, allocations: 0 / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8781, allocations: 0 / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.8784, allocations: 188 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.8784, allocations: 78.42 kB / 0.9534 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.8784, allocations: 4.938 kB / 0.9534 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.8785, allocations: 11.55 kB / 0.9534 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.8786, allocations: 12.48 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.8786, allocations: 5.188 kB / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.8787, allocations: 84.64 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8787, allocations: 0 / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002178/0.8789, allocations: 9.594 kB / 0.9535 GB, free: 5.035 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 9.494e-05/0.879, allocations: 96.69 kB / 0.9536 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.8792, allocations: 58.73 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8792, allocations: 0 / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.8794, allocations: 34.94 kB / 0.9537 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.8797, allocations: 12.72 kB / 0.9537 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.88, allocations: 143 kB / 0.9538 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.8801, allocations: 0.6879 MB / 0.9545 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.503e-05/0.8801, allocations: 3.25 kB / 0.9545 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.8802, allocations: 18.61 kB / 0.9545 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8802, allocations: 0 / 0.9545 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.002786/0.883, allocations: 0.7968 MB / 0.9553 GB, free: 3.629 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