Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001413/0.001412, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 469.4 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 60.38 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3472, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degF): time 0.002736/0.3499, allocations: 0.872 MB / 1.065 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002148/0.3502, allocations: 63.7 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.3503, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.303e-05/0.3504, allocations: 7.875 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.3505, allocations: 19.86 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.357e-05/0.3506, allocations: 19.98 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.3507, allocations: 79.78 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.3509, allocations: 57.06 kB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.351, allocations: 39.8 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.3511, allocations: 35.72 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3511, allocations: 8 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.3511, allocations: 8 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.3512, allocations: 19.94 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.3512, allocations: 51.61 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.3514, allocations: 95.88 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3514, allocations: 0 / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3514, allocations: 0 / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3514, allocations: 0 / 1.066 GB, free: 13.63 MB / 0.8419 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.0005298/0.352, allocations: 399.3 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.352, allocations: 8.625 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.3521, allocations: 12.75 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.3523, allocations: 208.3 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3524, allocations: 8.562 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.3524, allocations: 4.375 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3526, allocations: 109 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3526, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3526, allocations: 4 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3526, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.3528, allocations: 47.91 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.3535, allocations: 480.3 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/0.3535, allocations: 53.14 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.3536, allocations: 33.78 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.3536, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3537, allocations: 34.55 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3537, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.000214/0.3539, allocations: 65.55 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3539, allocations: 77.36 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3541, allocations: 179.3 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3542, allocations: 25.7 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3543, allocations: 107.9 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.3543, allocations: 15.75 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.3544, allocations: 17.72 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3545, allocations: 326.8 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.3546, allocations: 8 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.3546, allocations: 33.64 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.708e-05/0.3547, allocations: 29.84 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3547, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00014/0.3548, allocations: 73.53 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.3549, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3549, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.3549, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.355, allocations: 11.98 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.355, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.3551, allocations: 7.906 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3551, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8419 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 0.0001158/0.3552, allocations: 121.7 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.3553, allocations: 7.906 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.3553, allocations: 16.55 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3554, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3554, allocations: 224 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3554, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.3559, allocations: 0.5197 MB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.356, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.356, allocations: 11.98 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.356, allocations: 0 / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.356, allocations: 8.031 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3561, allocations: 7.938 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3561, allocations: 0 / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.3563, allocations: 103.7 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.3564, allocations: 93 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.3564, allocations: 7.938 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.02e-05/0.3565, allocations: 0 / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.3565, allocations: 7.938 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3565, allocations: 4 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001717/0.3567, allocations: 128.9 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3567, allocations: 0 / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002122/0.3569, allocations: 11.91 kB / 1.069 GB, free: 9.848 MB / 0.8419 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.0001683/0.3571, allocations: 107.2 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.3572, allocations: 23.94 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.3572, allocations: 8 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/0.3573, allocations: 11.98 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3575, allocations: 12 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.358, allocations: 234.3 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3583, allocations: 0.7002 MB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.3584, allocations: 11.44 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3584, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.002803/0.3612, allocations: 1 MB / 1.071 GB, free: 7.66 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches