Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_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.01011/0.01011, allocations: 100.2 kB / 15.73 MB, free: 6.043 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.001844/0.001844, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.178/2.178, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.597/3.597, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 68.56 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3712, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003701/0.375, allocations: 0.8792 MB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002773/0.3753, allocations: 59.7 kB / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.3754, allocations: 0 / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.783e-05/0.3756, allocations: 11.81 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.3757, allocations: 7.875 kB / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.3759, allocations: 31.91 kB / 1.088 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.3761, allocations: 83.83 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.3764, allocations: 56.83 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.3765, allocations: 31.8 kB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3766, allocations: 35.78 kB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.3767, allocations: 8 kB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.187e-05/0.3767, allocations: 8 kB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.3767, allocations: 19.92 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.59e-05/0.3769, allocations: 47.69 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3771, allocations: 102.4 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.3771, allocations: 0 / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3771, allocations: 3.938 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3772, allocations: 0 / 1.089 GB, free: 0.6172 MB / 0.8419 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.0007208/0.3779, allocations: 396.2 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.378, allocations: 12.03 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.08e-05/0.3781, allocations: 38.73 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.3781, allocations: 16.75 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.3785, allocations: 204.3 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3785, allocations: 8.562 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.3786, allocations: 4.375 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.3789, allocations: 112.4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3789, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.379, allocations: 8 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.379, allocations: 4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3792, allocations: 43.92 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.3801, allocations: 464.3 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.3802, allocations: 45.09 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.3803, allocations: 22.05 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3803, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3804, allocations: 38.5 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.455e-06/0.3804, allocations: 3.938 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00029/0.3807, allocations: 57.55 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.3808, allocations: 77.11 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.3811, allocations: 187.1 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3812, allocations: 25.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3813, allocations: 108 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3813, allocations: 7.844 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.3814, allocations: 21.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3816, allocations: 323.1 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.3817, allocations: 7.984 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.3817, allocations: 21.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.637e-05/0.3818, allocations: 25.66 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3818, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001925/0.382, allocations: 69.44 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3821, allocations: 9.625 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3821, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.3821, allocations: 4 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.3823, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3823, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.3824, allocations: 7.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3824, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 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 0.0001338/0.3825, allocations: 113.8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/0.3826, allocations: 15.81 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.3827, allocations: 16.55 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3827, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3827, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3827, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.3834, allocations: 478.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3834, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.3835, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.3835, allocations: 12 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3835, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3835, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.3836, allocations: 3.938 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.3837, allocations: 85.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.3838, allocations: 92.94 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3839, allocations: 3.938 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.3839, allocations: 4.031 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.384, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.384, allocations: 4 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001902/0.3842, allocations: 140.3 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.71e-07/0.3842, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004002/0.3846, allocations: 11.94 kB / 1.092 GB, free: 12.93 MB / 0.8575 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.000576/0.3852, allocations: 0.6209 MB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.3854, allocations: 15.94 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3854, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.3854, allocations: 4 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3858, allocations: 8.281 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.3879, allocations: 1.41 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.3884, allocations: 0.7002 MB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.394e-05/0.3884, allocations: 12.55 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.3885, allocations: 23.44 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.3885, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.4149, allocations: 1.732 MB / 1.096 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.63, allocations: 11.69 kB / 1.096 GB, free: 8.344 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches