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.0008652/0.0008652, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004924/0.004924, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.328/2.328, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 12.28 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5336, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.0009314/0.5346, allocations: 0.5899 MB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001326/0.5347, allocations: 59.7 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.5348, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.5348, allocations: 7.922 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.5349, allocations: 3.938 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.387e-05/0.535, allocations: 19.98 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.768e-05/0.5351, allocations: 71.84 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.5352, allocations: 49.03 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.495e-05/0.5353, allocations: 31.8 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.5353, allocations: 23.8 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.5354, allocations: 4 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.5354, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.5354, allocations: 15.92 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.5355, allocations: 57.44 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.5356, allocations: 89.84 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5356, allocations: 3.938 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5356, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.5356, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 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.0003651/0.536, allocations: 387.4 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.536, allocations: 8.031 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.536, allocations: 38.75 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.5361, allocations: 12.75 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.5363, allocations: 204.3 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.5363, allocations: 4.562 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.5363, allocations: 16.31 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.5365, allocations: 111.9 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5365, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5365, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5365, allocations: 4 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.5366, allocations: 39.98 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.5371, allocations: 480.2 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.5372, allocations: 37.22 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.5372, allocations: 21.72 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.5372, allocations: 7.984 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.5372, allocations: 30.56 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5372, allocations: 4 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000154/0.5374, allocations: 53.53 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.5375, allocations: 81.11 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.5376, allocations: 187.1 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.5376, allocations: 29.7 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.5377, allocations: 108 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.5377, allocations: 11.89 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.5377, allocations: 9.969 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.5378, allocations: 326.8 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.5379, allocations: 4 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.5379, allocations: 17.72 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.5379, allocations: 29.64 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5379, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.987e-05/0.538, allocations: 61.61 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.538, allocations: 7.938 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.538, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.5381, allocations: 4 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/0.5381, allocations: 7.984 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5381, allocations: 3.984 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.5382, allocations: 15.78 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.5382, allocations: 0 / 1.026 GB, free: 12.25 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.758e-05/0.5382, allocations: 113.8 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.5383, allocations: 19.88 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.5383, allocations: 16.55 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5383, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5383, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5383, allocations: 3.938 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.5387, allocations: 470.8 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.5387, allocations: 4.109 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.5387, allocations: 19.98 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5387, allocations: 3.938 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.5387, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5387, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5387, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.446e-05/0.5388, allocations: 77.84 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.5389, allocations: 96.91 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.5389, allocations: 7.969 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.5389, allocations: 3.938 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.5389, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.539, allocations: 7.984 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.197e-05/0.5391, allocations: 132.3 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5391, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001789/0.5392, allocations: 8 kB / 1.027 GB, free: 11.18 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.0003334/0.5396, allocations: 0.6209 MB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.229e-05/0.5396, allocations: 12 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5397, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.5397, allocations: 7.938 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.5398, allocations: 16.27 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.541, allocations: 1.421 MB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.5412, allocations: 0.7004 MB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.5413, allocations: 4.562 kB / 1.03 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.5413, allocations: 27.42 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of SimCode: time 1.563e-06/0.5413, allocations: 4 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6541/1.195, allocations: 1.516 MB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/1.196, allocations: 227.7 kB / 1.032 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.676, allocations: 0 / 1.032 GB, free: 6.559 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