Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001069/0.001069, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001093/0.001093, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 64.14 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5561, allocations: 151.6 MB / 1.017 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001902/0.5581, allocations: 0.9365 MB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.5582, allocations: 59.72 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.5582, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.5583, allocations: 11.92 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.5584, allocations: 3.938 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.11e-05/0.5584, allocations: 23.98 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.5585, allocations: 75.69 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.5587, allocations: 53.08 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.5587, allocations: 31.8 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.5588, allocations: 31.78 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.5588, allocations: 8 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.5588, allocations: 4 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.5588, allocations: 23.86 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.5589, allocations: 35.75 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.559, allocations: 97.84 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.559, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.21e-07/0.559, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.559, allocations: 0 / 1.018 GB, free: 1.539 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.0003743/0.5594, allocations: 395.4 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5594, allocations: 8.031 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.5594, allocations: 42.73 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.5595, allocations: 16.84 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.5597, allocations: 208.2 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.5597, allocations: 4.562 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.5597, allocations: 12.31 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.5599, allocations: 108.6 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.5599, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.5599, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.5599, allocations: 4 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.56, allocations: 47.92 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.5604, allocations: 468.5 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.5605, allocations: 37.09 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.5605, allocations: 29.83 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.5605, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.5606, allocations: 30.56 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.5606, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/0.5607, allocations: 57.45 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.5608, allocations: 81.36 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.5609, allocations: 191.1 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.5609, allocations: 25.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.561, allocations: 108 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.561, allocations: 7.906 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.561, allocations: 17.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.5611, allocations: 322.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.5612, allocations: 8 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.5612, allocations: 25.66 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.5612, allocations: 21.72 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5612, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.832e-05/0.5613, allocations: 61.53 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5613, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5613, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5614, allocations: 8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.319e-05/0.5614, allocations: 12.06 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5614, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.5615, allocations: 15.78 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.5615, allocations: 0 / 1.02 GB, free: 14.94 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 6.382e-05/0.5615, allocations: 117.8 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.5616, allocations: 11.81 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.5616, allocations: 12.56 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5616, allocations: 4 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5616, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5616, allocations: 7.938 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.562, allocations: 470.8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.562, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.562, allocations: 112 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.562, allocations: 11.88 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.562, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.562, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.562, allocations: 64 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.864e-05/0.5621, allocations: 81.89 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.5622, allocations: 97 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.5622, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.5622, allocations: 3.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-06/0.5622, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.5622, allocations: 8.031 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.679e-05/0.5623, allocations: 136.3 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5623, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001791/0.5625, allocations: 12 kB / 1.021 GB, free: 13.86 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.000293/0.5628, allocations: 0.6249 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.378e-05/0.5629, allocations: 11.94 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5629, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.5629, allocations: 8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.563, allocations: 10.56 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5641, allocations: 1.413 MB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.5643, allocations: 0.7082 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.5643, allocations: 8.547 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.5644, allocations: 31.42 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5644, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.5744, allocations: 1.578 MB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.5746, allocations: 210.8 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.055, allocations: 4 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches