Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.From_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.001209/0.001209, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001155/0.001155, allocations: 193.4 kB / 16.25 MB, free: 6.637 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.213/1.213, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.298/2.298, allocations: 437.1 MB / 0.7101 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.89 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4819, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001901/0.4839, allocations: 0.9443 MB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001175/0.484, allocations: 47.72 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.4841, allocations: 4 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.4841, allocations: 3.938 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.4842, allocations: 11.92 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.443e-05/0.4843, allocations: 16 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.4844, allocations: 79.78 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4845, allocations: 57.06 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.4846, allocations: 43.72 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.4846, allocations: 27.8 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.4846, allocations: 8 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.4847, allocations: 8 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.4847, allocations: 23.92 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.4847, allocations: 43.73 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.4848, allocations: 97.86 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4848, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4849, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4849, allocations: 0 / 1.018 GB, free: 1.328 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.000378/0.4852, allocations: 399.2 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.4853, allocations: 11.97 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.4853, allocations: 46.73 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.4854, allocations: 12.84 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4855, allocations: 208.2 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4856, allocations: 8.562 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.4856, allocations: 8.375 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.4857, allocations: 107.2 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.4858, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4858, allocations: 4 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4858, allocations: 4 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.4859, allocations: 43.92 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.4863, allocations: 472.4 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.294e-05/0.4864, allocations: 41.16 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.4864, allocations: 21.78 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.4865, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.4865, allocations: 30.56 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.4865, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.4866, allocations: 57.44 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.4867, allocations: 81.11 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4868, allocations: 191.4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.4869, allocations: 33.64 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.4869, allocations: 108 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-06/0.4869, allocations: 3.906 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.487, allocations: 17.72 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.4871, allocations: 322.8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.4871, allocations: 8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.4871, allocations: 13.72 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.4872, allocations: 33.7 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4872, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.599e-05/0.4872, allocations: 57.55 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.4873, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4873, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.4873, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.358e-05/0.4873, allocations: 11.98 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4874, allocations: 4.062 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.4874, allocations: 19.78 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.4874, allocations: 0 / 1.021 GB, free: 14.72 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 (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 prepare postOptimizeDAE: time 7.673e-05/0.4875, allocations: 121.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.4875, allocations: 11.81 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.4875, allocations: 12.55 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4876, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4876, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4876, allocations: 7.969 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.4879, allocations: 474.8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4879, allocations: 3.984 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.4879, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4879, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.488, allocations: 4.109 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.488, allocations: 3.938 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.488, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.057e-05/0.488, allocations: 73.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.4881, allocations: 96.91 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4881, allocations: 7.938 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.4881, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.4882, allocations: 7.922 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.4882, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.908e-05/0.4883, allocations: 136.3 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4883, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001781/0.4885, allocations: 8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000294/0.4888, allocations: 0.621 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.4888, allocations: 19.94 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4888, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.4889, allocations: 11.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.489, allocations: 14 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.4901, allocations: 1.418 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.4903, allocations: 0.7041 MB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.4903, allocations: 8.547 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.4904, allocations: 27.44 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4904, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.5077, allocations: 1.622 MB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.508, allocations: 216.8 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.431, allocations: 0 / 1.026 GB, free: 8.91 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches