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.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_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.0016/0.0016, allocations: 108 kB / 15.6 MB, free: 128 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.001801/0.001801, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.458/2.458, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 75.88 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5937/0.595, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.00195/0.597, allocations: 0.8755 MB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001261/0.5972, allocations: 55.72 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.5972, allocations: 8 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.5973, allocations: 11.86 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.373e-05/0.5973, allocations: 7.875 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.342e-05/0.5974, allocations: 27.97 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.484e-05/0.5975, allocations: 79.78 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.5976, allocations: 49.09 kB / 1.019 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.7e-05/0.5977, allocations: 35.78 kB / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.5977, allocations: 39.72 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.5978, allocations: 8 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.5978, allocations: 8 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.5978, allocations: 15.94 kB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.5979, allocations: 43.73 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.598, allocations: 93.91 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.598, allocations: 11.94 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.598, allocations: 0 / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.598, allocations: 0 / 1.019 GB, free: 1.113 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.0004165/0.5984, allocations: 399.2 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5985, allocations: 8.031 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.5985, allocations: 38.75 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.5985, allocations: 8.844 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.5987, allocations: 217.8 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5988, allocations: 12.56 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.5988, allocations: 4.375 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.5989, allocations: 104.5 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5989, allocations: 0 / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.599, allocations: 8 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.599, allocations: 4 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.9e-05/0.5991, allocations: 47.91 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.5996, allocations: 464.4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.178e-05/0.5996, allocations: 45.38 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.5997, allocations: 13.78 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.5997, allocations: 11.94 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.5997, allocations: 38.55 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.5997, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001523/0.5999, allocations: 53.45 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.5999, allocations: 85.05 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.6001, allocations: 178.6 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.6001, allocations: 29.95 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.6002, allocations: 116 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.553e-06/0.6002, allocations: 3.906 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.6002, allocations: 17.72 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6003, allocations: 322.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.6003, allocations: 7.938 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.6004, allocations: 21.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.6004, allocations: 25.72 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6004, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.276e-05/0.6005, allocations: 65.53 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.6005, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6005, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.6005, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.6006, allocations: 8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.6006, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.6007, allocations: 19.84 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.6007, allocations: 0 / 1.021 GB, free: 14.51 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.808e-05/0.6007, allocations: 113.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.6008, allocations: 11.81 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.6008, allocations: 16.55 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6008, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6008, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6008, allocations: 7.875 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.6012, allocations: 470.9 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6012, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.6012, allocations: 7.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.6012, allocations: 3.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.6012, allocations: 4.094 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6012, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6013, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.785e-05/0.6013, allocations: 89.88 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.6014, allocations: 92.91 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.6014, allocations: 7.938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.6014, allocations: 8 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.6015, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.6015, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.809e-05/0.6016, allocations: 140.2 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6016, allocations: 4.031 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001791/0.6018, allocations: 8 kB / 1.022 GB, free: 13.43 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.0003147/0.6021, allocations: 0.617 MB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.6022, allocations: 27.95 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6022, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-06/0.6022, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.6023, allocations: 8 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.6034, allocations: 1.397 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.6037, allocations: 0.7002 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.6037, allocations: 12.55 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.6037, allocations: 27.42 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6038, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/0.7625, allocations: 1.704 MB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/8.286, allocations: 12.72 kB / 1.026 GB, free: 8.848 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