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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009268/0.0009268, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009238/0.0009238, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.612/2.612, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006307/0.0006311, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/0.8951, allocations: 153.6 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0008405/0.896, allocations: 384.9 kB / 1.021 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.897, allocations: 0.8196 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.8971, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.8971, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.8972, allocations: 7.984 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.8974, allocations: 19.92 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.8975, allocations: 23.91 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.8976, allocations: 15.98 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.8976, allocations: 11.92 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.8977, allocations: 27.91 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.8977, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.8978, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.8978, allocations: 7.984 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.8978, allocations: 29.7 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.607e-05/0.8979, allocations: 23.94 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.8979, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8979, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.8979, allocations: 3.938 kB / 1.022 GB, free: 15.72 MB / 0.7794 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.0005099/0.8984, allocations: 353.3 kB / 1.022 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.8985, allocations: 11.98 kB / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.8986, allocations: 7.906 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.8987, allocations: 171 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.8987, allocations: 0 / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.8988, allocations: 8 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.899, allocations: 77.59 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.899, allocations: 0 / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.899, allocations: 0 / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.899, allocations: 4 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.8992, allocations: 59.94 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.8998, allocations: 296.7 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.9, allocations: 66.53 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.9, allocations: 4.031 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.9, allocations: 38.69 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.9, allocations: 3.938 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004069/0.9004, allocations: 125.6 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.9005, allocations: 51.41 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.9006, allocations: 105.8 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.9006, allocations: 25.7 kB / 1.023 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.9007, allocations: 88.14 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.9007, allocations: 11.75 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.9007, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.9008, allocations: 322.8 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.9009, allocations: 27.98 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.901, allocations: 27.97 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.621e-05/0.9011, allocations: 27.98 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9011, allocations: 7.953 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002415/0.9014, allocations: 97.58 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.9014, allocations: 4 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.9014, allocations: 0 / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.9014, allocations: 0 / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.9016, allocations: 19.98 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.9016, allocations: 0 / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.9017, allocations: 11.98 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.9017, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.9018, allocations: 113.8 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.9018, allocations: 7.859 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.9018, allocations: 11.89 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.9018, allocations: 4 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9018, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.9018, allocations: 3.938 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.902, allocations: 169.7 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.902, allocations: 4 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/0.9021, allocations: 19.94 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.9021, allocations: 4 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.9022, allocations: 3.984 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.9022, allocations: 3.938 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.9022, allocations: 7.938 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.9025, allocations: 183.5 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.9025, allocations: 85.02 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.9025, allocations: 8.328 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.9026, allocations: 11.98 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.9027, allocations: 7.984 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.9027, allocations: 4 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.9028, allocations: 87.53 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9028, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002167/0.903, allocations: 8 kB / 1.025 GB, free: 12.66 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.9031, allocations: 103.2 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.9034, allocations: 67.88 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9034, allocations: 0 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.9035, allocations: 43.97 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.9038, allocations: 0 / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.9041, allocations: 136.6 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.9044, allocations: 0.6809 MB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.641e-05/0.9045, allocations: 8 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.9045, allocations: 15.42 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of SimCode: time 1.603e-06/0.9045, allocations: 0 / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.003017/0.9075, allocations: 0.7299 MB / 1.027 GB, free: 10.82 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches