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.001325/0.001325, allocations: 106.4 kB / 16.41 MB, free: 6.469 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.001245/0.001245, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.466/2.466, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7469, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001708/0.7486, allocations: 0.648 MB / 1.209 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009139/0.7495, allocations: 0.8351 MB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.7496, allocations: 0 / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.7497, allocations: 7.938 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.7497, allocations: 11.92 kB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.7499, allocations: 23.91 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.75, allocations: 39.91 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.7501, allocations: 12 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.7502, allocations: 23.92 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.7502, allocations: 23.89 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.7503, allocations: 11.94 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.7503, allocations: 4 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.7503, allocations: 11.94 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.7503, allocations: 19.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.8e-05/0.7504, allocations: 47.8 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7504, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7505, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7505, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 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.0004804/0.7509, allocations: 349.3 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.751, allocations: 16.03 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.751, allocations: 4.844 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.7512, allocations: 176.2 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.7512, allocations: 384 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.7512, allocations: 8.375 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.7514, allocations: 62.22 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.7514, allocations: 192 / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.7515, allocations: 3.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7515, allocations: 4 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.7517, allocations: 47.95 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.7521, allocations: 292.7 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.7523, allocations: 66.53 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.7524, allocations: 36.89 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.7524, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.7524, allocations: 34.56 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.7524, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003967/0.7528, allocations: 105.6 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.7529, allocations: 55.41 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.753, allocations: 109.8 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.753, allocations: 25.7 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.753, allocations: 84.14 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.7531, allocations: 15.75 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.7531, allocations: 21.7 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.7532, allocations: 310.8 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.7533, allocations: 27.97 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.7534, allocations: 23.98 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.7536, allocations: 56.75 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7536, allocations: 0 / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000236/0.7539, allocations: 89.52 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.7539, allocations: 8 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7539, allocations: 0 / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7539, allocations: 0 / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.754, allocations: 16.23 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7541, allocations: 7.922 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.7541, allocations: 15.89 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.7541, allocations: 4 kB / 1.212 GB, free: 9.801 MB / 0.9356 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.614e-05/0.7542, allocations: 113.8 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.7543, allocations: 4 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.7543, allocations: 7.891 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.7543, allocations: 0 / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7543, allocations: 4 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.7543, allocations: 0 / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.7545, allocations: 173.6 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7545, allocations: 3.984 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.7546, allocations: 15.98 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7546, allocations: 3.938 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.7546, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.7546, allocations: 4 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7546, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.7549, allocations: 183.4 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.755, allocations: 81.02 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.755, allocations: 0 / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.7551, allocations: 7.984 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.7552, allocations: 12.36 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.7552, allocations: 4 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.7552, allocations: 87.28 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7552, allocations: 0 / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002199/0.7555, allocations: 4 kB / 1.213 GB, free: 9 MB / 0.9356 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.0001086/0.7556, allocations: 103.2 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.7558, allocations: 59.88 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7558, allocations: 0 / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.756, allocations: 35.97 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.7562, allocations: 3.938 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.7566, allocations: 159.2 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.7568, allocations: 0.6845 MB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.7568, allocations: 15.38 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.7568, allocations: 0 / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of Templates: time 0.002003/0.7589, allocations: 0.7976 MB / 1.215 GB, free: 7.09 MB / 0.9356 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/jenkins1/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