Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.008637/0.008637, allocations: 103.1 kB / 15.73 MB, free: 6.043 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.001598/0.001598, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.89 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002182/1.062, allocations: 0.8772 MB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001528/1.062, allocations: 51.72 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/1.062, allocations: 4 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/1.062, allocations: 11.86 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/1.062, allocations: 11.86 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.935e-05/1.062, allocations: 23.98 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/1.062, allocations: 83.77 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/1.062, allocations: 49.09 kB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.404e-05/1.063, allocations: 47.78 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/1.063, allocations: 35.72 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/1.063, allocations: 8 kB / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/1.063, allocations: 8 kB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/1.063, allocations: 19.92 kB / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/1.063, allocations: 47.73 kB / 1.209 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/1.063, allocations: 99.41 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.063, allocations: 0 / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/1.063, allocations: 0 / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.063, allocations: 0 / 1.209 GB, free: 12.23 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004927/1.063, allocations: 401.2 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.063, allocations: 12.03 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/1.063, allocations: 12.75 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/1.064, allocations: 203 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/1.064, allocations: 4.562 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/1.064, allocations: 16.36 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/1.064, allocations: 109.9 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.064, allocations: 7.938 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.064, allocations: 0 / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/1.064, allocations: 4 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/1.064, allocations: 51.91 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/1.065, allocations: 468.3 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/1.065, allocations: 49.22 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/1.065, allocations: 29.77 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/1.065, allocations: 0 / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/1.065, allocations: 42.5 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/1.065, allocations: 0 / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002054/1.065, allocations: 69.53 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/1.065, allocations: 77.11 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/1.065, allocations: 168 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/1.065, allocations: 33.7 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/1.065, allocations: 107.9 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/1.065, allocations: 15.8 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/1.066, allocations: 21.72 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.066, allocations: 327 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/1.066, allocations: 4 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/1.066, allocations: 21.84 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.299e-05/1.066, allocations: 45.64 kB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.066, allocations: 0 / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.815e-05/1.066, allocations: 69.58 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.066, allocations: 4.219 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.066, allocations: 4 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.066, allocations: 7.938 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/1.066, allocations: 11.94 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.066, allocations: 0 / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/1.066, allocations: 11.84 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/1.066, allocations: 4 kB / 1.211 GB, free: 9.602 MB / 0.9356 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.694e-05/1.066, allocations: 123.3 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/1.066, allocations: 7.906 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/1.066, allocations: 12.56 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/1.066, allocations: 0 / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.066, allocations: 8 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.066, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/1.067, allocations: 0.5042 MB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.067, allocations: 4 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/1.067, allocations: 4 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.067, allocations: 128 / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/1.067, allocations: 11.94 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.067, allocations: 0 / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.067, allocations: 3.938 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/1.067, allocations: 103.5 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/1.067, allocations: 93 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/1.067, allocations: 7.938 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.74e-05/1.067, allocations: 4 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/1.067, allocations: 7.984 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/1.067, allocations: 0 / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.314e-05/1.067, allocations: 132.2 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.067, allocations: 0 / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000191/1.067, allocations: 11.91 kB / 1.212 GB, free: 8.449 MB / 0.9356 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.0001541/1.068, allocations: 107.2 kB / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001126/1.068, allocations: 31.92 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.068, allocations: 0 / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/1.068, allocations: 11.94 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/1.068, allocations: 12 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/1.068, allocations: 200.7 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/1.069, allocations: 0.7002 MB / 1.213 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.245e-05/1.069, allocations: 8.875 kB / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/1.069, allocations: 19.31 kB / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/1.069, allocations: 0 / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of Templates: time 0.002847/1.071, allocations: 0.5277 MB / 1.214 GB, free: 6.766 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches