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.006813/0.006813, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001742/0.001742, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.509/2.509, allocations: 437.1 MB / 0.7106 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 68.09 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2554, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001841/0.2573, allocations: 0.8877 MB / 1.167 GB, free: 6.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001268/0.2575, allocations: 55.78 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.2575, allocations: 0 / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.2576, allocations: 15.8 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.2577, allocations: 15.86 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.518e-05/0.2577, allocations: 19.98 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.2578, allocations: 79.81 kB / 1.167 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.258, allocations: 53.05 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.258, allocations: 31.86 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.2581, allocations: 43.72 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.2581, allocations: 8 kB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.2581, allocations: 8 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.2582, allocations: 19.92 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.2582, allocations: 43.73 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.2583, allocations: 103.7 kB / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2584, allocations: 0 / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2584, allocations: 0 / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2584, allocations: 0 / 1.168 GB, free: 5.926 MB / 0.92 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.0004292/0.2588, allocations: 403.2 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.2588, allocations: 8.031 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.2589, allocations: 42.73 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.2589, allocations: 16.84 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2591, allocations: 210.1 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.2592, allocations: 4.562 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.2592, allocations: 12.38 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2593, allocations: 109.9 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2594, allocations: 0 / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.2594, allocations: 3.938 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.2594, allocations: 4 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.868e-05/0.2595, allocations: 51.86 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.26, allocations: 472.5 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.304e-05/0.2601, allocations: 49.16 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.2602, allocations: 29.78 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.2602, allocations: 7.969 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.2602, allocations: 38.56 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2602, allocations: 0 / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001598/0.2604, allocations: 61.59 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2604, allocations: 77.36 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.2606, allocations: 180 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2606, allocations: 25.7 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.2607, allocations: 112 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.2607, allocations: 15.89 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.2607, allocations: 17.72 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2609, allocations: 330.7 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.2609, allocations: 8 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.2609, allocations: 25.7 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.261, allocations: 37.72 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.261, allocations: 0 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.288e-05/0.2611, allocations: 65.58 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2611, allocations: 10.03 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2611, allocations: 3.984 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2611, allocations: 0 / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.2612, allocations: 8 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2612, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.2613, allocations: 15.89 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2613, allocations: 4.156 kB / 1.17 GB, free: 3.242 MB / 0.92 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.389e-05/0.2613, allocations: 121.8 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.2614, allocations: 11.89 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.2614, allocations: 16.67 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2614, allocations: 4 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2614, allocations: 4 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2614, allocations: 0 / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.2619, allocations: 0.5043 MB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2619, allocations: 0 / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.2619, allocations: 11.92 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.2619, allocations: 7.938 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.262, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.262, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.262, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.2621, allocations: 103.7 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.2622, allocations: 97 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.2622, allocations: 3.938 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.2622, allocations: 4 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.2622, allocations: 11.94 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2622, allocations: 0 / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000103/0.2623, allocations: 124 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2623, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001827/0.2625, allocations: 12 kB / 1.171 GB, free: 2.086 MB / 0.92 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.000432/0.263, allocations: 0.654 MB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.612e-05/0.2631, allocations: 31.98 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2631, allocations: 0 / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.2631, allocations: 11.94 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.2633, allocations: 16.25 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2645, allocations: 1.422 MB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.2648, allocations: 0.7002 MB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.2649, allocations: 12.55 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.2649, allocations: 27.44 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.2649, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.533/1.798, allocations: 1.705 MB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/14.18, allocations: 15.25 kB / 1.175 GB, free: 13.42 MB / 0.9356 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=400 --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