Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006118/0.006118, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001297/0.001297, allocations: 188.7 kB / 16.67 MB, free: 5.957 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 / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.83 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.061, allocations: 151.6 MB / 1.167 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002189/1.064, allocations: 0.8917 MB / 1.167 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001532/1.064, allocations: 55.72 kB / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/1.064, allocations: 4 kB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.607e-05/1.064, allocations: 11.86 kB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/1.064, allocations: 11.88 kB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.107e-05/1.064, allocations: 27.97 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/1.064, allocations: 83.77 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/1.065, allocations: 53.09 kB / 1.168 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/1.065, allocations: 39.73 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/1.065, allocations: 35.78 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/1.065, allocations: 8 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/1.065, allocations: 8 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/1.065, allocations: 15.94 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/1.065, allocations: 43.73 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/1.065, allocations: 104.5 kB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.065, allocations: 0 / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.823e-06/1.065, allocations: 4 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.51e-06/1.065, allocations: 0 / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005105/1.066, allocations: 409.2 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.066, allocations: 12.92 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/1.066, allocations: 12.84 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/1.066, allocations: 196.4 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/1.066, allocations: 8.562 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/1.066, allocations: 16.31 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/1.066, allocations: 113.5 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.066, allocations: 0 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.066, allocations: 4 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/1.066, allocations: 4 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/1.066, allocations: 39.98 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/1.067, allocations: 476.4 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/1.067, allocations: 45.22 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/1.067, allocations: 33.77 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/1.067, allocations: 3.938 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.067, allocations: 38.56 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/1.067, allocations: 0 / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001978/1.067, allocations: 61.59 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/1.067, allocations: 85.09 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/1.068, allocations: 167.3 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.068, allocations: 29.7 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/1.068, allocations: 108 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/1.068, allocations: 20.03 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/1.068, allocations: 21.94 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.068, allocations: 322.8 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/1.068, allocations: 11.94 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/1.068, allocations: 25.7 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.911e-05/1.068, allocations: 37.64 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.068, allocations: 128 / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001178/1.068, allocations: 77.69 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.068, allocations: 7.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/1.068, allocations: 4 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.068, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/1.068, allocations: 11.94 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/1.068, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/1.068, allocations: 7.953 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/1.068, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.296e-05/1.068, allocations: 117.8 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/1.068, allocations: 11.95 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/1.069, allocations: 16.55 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.069, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.069, allocations: 4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/1.069, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/1.069, allocations: 0.5042 MB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.069, allocations: 12.11 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/1.069, allocations: 4 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.069, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.069, allocations: 11.94 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.069, allocations: 0 / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.069, allocations: 0 / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/1.069, allocations: 103.6 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/1.069, allocations: 100.9 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/1.069, allocations: 7.938 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.639e-05/1.069, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/1.069, allocations: 4 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/1.069, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.674e-05/1.069, allocations: 136.9 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.069, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001924/1.07, allocations: 12 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001415/1.07, allocations: 103.2 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001087/1.07, allocations: 23.94 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.07, allocations: 3.938 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/1.07, allocations: 19.92 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/1.07, allocations: 15.94 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/1.071, allocations: 216.1 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/1.071, allocations: 0.6963 MB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.478e-05/1.071, allocations: 20.53 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/1.071, allocations: 11.44 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/1.071, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.00274/1.074, allocations: 0.5004 MB / 1.173 GB, free: 13.12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches