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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001202/0.001203, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.505/1.505, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 68.06 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4019, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002477/0.4044, allocations: 0.6615 MB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.4056, allocations: 0.8411 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.4057, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.4057, allocations: 3.938 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.4058, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.406, allocations: 27.89 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.4061, allocations: 43.86 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.4062, allocations: 23.98 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.4063, allocations: 11.94 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.4064, allocations: 31.89 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.4064, allocations: 4 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.4064, allocations: 4 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.4065, allocations: 7.984 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.4065, allocations: 15.88 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.4066, allocations: 51.84 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4066, allocations: 4 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4066, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4066, allocations: 3.938 kB / 1.07 GB, free: 8.641 MB / 0.8262 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.0006123/0.4073, allocations: 347.7 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4073, allocations: 12.02 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.4074, allocations: 8.844 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.4075, allocations: 164.3 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.4075, allocations: 8.375 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.4076, allocations: 384 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.4078, allocations: 70.22 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.4078, allocations: 192 / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.4078, allocations: 3.938 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4078, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.408, allocations: 51.94 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.4085, allocations: 300.6 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.4088, allocations: 58.55 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.4089, allocations: 32.91 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.4089, allocations: 0 / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.409, allocations: 34.56 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.409, allocations: 4 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004551/0.4094, allocations: 105.6 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4095, allocations: 51.41 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.4096, allocations: 109.8 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4096, allocations: 25.7 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.4097, allocations: 84.14 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.4097, allocations: 19.8 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.4098, allocations: 17.66 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4099, allocations: 318.8 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.4101, allocations: 23.98 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/0.4102, allocations: 23.97 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.4104, allocations: 56.75 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4104, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002361/0.4106, allocations: 85.92 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4106, allocations: 9.547 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4106, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4107, allocations: 4 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.4108, allocations: 11.98 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4108, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.4109, allocations: 11.91 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4109, allocations: 3.984 kB / 1.072 GB, free: 6.398 MB / 0.8262 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.18e-05/0.411, allocations: 117.8 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.411, allocations: 4.234 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.4111, allocations: 11.91 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4111, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.4111, allocations: 7.938 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4111, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.4113, allocations: 173.6 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4113, allocations: 4 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.4114, allocations: 19.92 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4114, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4114, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4114, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4114, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.4117, allocations: 179.4 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.4118, allocations: 92.95 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.4118, allocations: 3.984 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.4119, allocations: 8 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.412, allocations: 7.984 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.412, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.4121, allocations: 87.27 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4121, allocations: 0 / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002162/0.4123, allocations: 8 kB / 1.073 GB, free: 5.586 MB / 0.8262 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.0001272/0.4124, allocations: 107.7 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.4127, allocations: 59.88 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4127, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.4128, allocations: 27.98 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.4132, allocations: 18.31 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.4136, allocations: 141.3 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.414, allocations: 0.6807 MB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.662e-05/0.414, allocations: 7.984 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.4141, allocations: 15.44 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4141, allocations: 4 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of Templates: time 0.003423/0.4175, allocations: 0.8639 MB / 1.074 GB, free: 3.613 MB / 0.8262 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