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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 192.8 kB / 16.53 MB, free: 6.699 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.475/2.475, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.8694 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5518/0.5531, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002142/0.5553, allocations: 0.8813 MB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000123/0.5554, allocations: 55.78 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.5555, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.5555, allocations: 15.8 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.227e-05/0.5556, allocations: 7.875 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.011e-05/0.5557, allocations: 27.97 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.5558, allocations: 79.78 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.556, allocations: 57.06 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.556, allocations: 35.8 kB / 1.019 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.5561, allocations: 35.8 kB / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.5561, allocations: 12 kB / 1.019 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.5561, allocations: 8 kB / 1.019 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.5561, allocations: 23.86 kB / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.5562, allocations: 47.67 kB / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.5563, allocations: 93.86 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5563, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5563, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.5563, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.7637 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.0003694/0.5567, allocations: 399.2 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.5567, allocations: 16.03 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.5568, allocations: 38.73 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.5568, allocations: 12.84 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.557, allocations: 208.2 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.557, allocations: 8.562 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.557, allocations: 8.375 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.5572, allocations: 108.6 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5572, allocations: 0 / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5572, allocations: 4 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5572, allocations: 8 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.5573, allocations: 51.89 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.5578, allocations: 472.3 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.5579, allocations: 49.16 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.5579, allocations: 33.77 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.5579, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.558, allocations: 38.56 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.558, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001652/0.5581, allocations: 65.53 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.5582, allocations: 81.11 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.5583, allocations: 169 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.5583, allocations: 25.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.5584, allocations: 111.9 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.5584, allocations: 3.906 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.5585, allocations: 33.86 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.5586, allocations: 318.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.5586, allocations: 15.98 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-05/0.5586, allocations: 17.84 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.5587, allocations: 41.66 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5587, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.873e-05/0.5588, allocations: 69.52 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5588, allocations: 9.719 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5588, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.5588, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.5589, allocations: 12 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.5589, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.5589, allocations: 11.84 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.5589, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 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 6.669e-05/0.559, allocations: 119.3 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.559, allocations: 11.89 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.5591, allocations: 12.56 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5591, allocations: 8.219 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5591, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5591, allocations: 3.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.5595, allocations: 0.5082 MB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5595, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.5595, allocations: 8.125 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.5595, allocations: 7.938 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.5595, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5596, allocations: 3.984 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5596, allocations: 7.938 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.917e-05/0.5597, allocations: 103.6 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.5597, allocations: 101 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.5598, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.5598, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.5598, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.5598, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.873e-05/0.5599, allocations: 137.6 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5599, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002077/0.5601, allocations: 8 kB / 1.022 GB, free: 13.34 MB / 0.7794 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.0003391/0.5605, allocations: 0.6498 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.639e-05/0.5606, allocations: 35.92 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5606, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-05/0.5606, allocations: 15.94 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.5608, allocations: 8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.5619, allocations: 1.424 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.5621, allocations: 0.6963 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.5621, allocations: 12.55 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.5622, allocations: 27.42 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5622, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1874/0.7496, allocations: 1.678 MB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/8.34, allocations: 3.953 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > 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/jenkins1/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