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.007973/0.007973, allocations: 99.3 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.001718/0.001718, allocations: 190.6 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 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.293 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 2.347/2.347, allocations: 390.3 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.78 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2839, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001957/0.2859, allocations: 0.8829 MB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.286, allocations: 51.72 kB / 1.088 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.2861, allocations: 4 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.2862, allocations: 7.875 kB / 1.088 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.636e-05/0.2863, allocations: 15.86 kB / 1.088 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.592e-05/0.2863, allocations: 23.92 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2864, allocations: 83.77 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.2866, allocations: 56.83 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.2867, allocations: 31.86 kB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.2868, allocations: 31.78 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.2868, allocations: 12 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.2868, allocations: 8 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.2869, allocations: 27.86 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.2869, allocations: 43.69 kB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.2871, allocations: 98.47 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2871, allocations: 0 / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2871, allocations: 3.938 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.2871, allocations: 0 / 1.089 GB, free: 0.5938 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.0004454/0.2875, allocations: 396.1 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2876, allocations: 16.03 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.2876, allocations: 46.67 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.2877, allocations: 16.75 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.2879, allocations: 196.3 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2879, allocations: 8.562 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2879, allocations: 8.375 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.2881, allocations: 108.4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2881, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2882, allocations: 8 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2882, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.2883, allocations: 39.98 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.2889, allocations: 468.2 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.2889, allocations: 37.16 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.289, allocations: 25.83 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.289, allocations: 7.984 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.289, allocations: 34.72 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 3.035e-06/0.289, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001995/0.2892, allocations: 57.48 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.2893, allocations: 81.36 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.2895, allocations: 187.1 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2895, allocations: 25.7 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.2896, allocations: 108 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.2896, allocations: 7.844 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.2897, allocations: 21.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2898, allocations: 318.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.2898, allocations: 7.984 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.2898, allocations: 21.72 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.408e-05/0.2899, allocations: 29.66 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2899, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.616e-05/0.29, allocations: 61.5 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.29, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.29, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.29, allocations: 8.062 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.2901, allocations: 11.94 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2901, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.2902, allocations: 7.938 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.2902, allocations: 0 / 1.091 GB, free: 13.99 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 8.136e-05/0.2902, allocations: 113.8 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.2903, allocations: 19.8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.2903, allocations: 12.5 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2903, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2904, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2904, allocations: 3.938 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.2908, allocations: 478.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2908, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.015e-05/0.2908, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.2909, allocations: 7.938 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2909, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2909, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2909, allocations: 4.062 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.011e-05/0.291, allocations: 85.73 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.291, allocations: 93 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2911, allocations: 3.938 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.2911, allocations: 3.938 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.2911, allocations: 4.031 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2911, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001009/0.2912, allocations: 132.3 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2912, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001922/0.2914, allocations: 8 kB / 1.092 GB, free: 12.91 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.0003851/0.2918, allocations: 0.6209 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.28e-05/0.2919, allocations: 12 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2919, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.292, allocations: 7.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.2921, allocations: 13.72 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.2934, allocations: 1.404 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.2936, allocations: 0.7002 MB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.2937, allocations: 8.547 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.2937, allocations: 31.38 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.2937, allocations: 0 / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.3108, allocations: 1.764 MB / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/7.989, allocations: 4.062 kB / 1.097 GB, free: 8.293 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