Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.001448/0.001448, allocations: 108.6 kB / 15.73 MB, free: 72 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.001458/0.001458, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 64.12 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2826, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002072/0.2847, allocations: 0.8293 MB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001308/0.2848, allocations: 43.8 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.2849, allocations: 0 / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.2849, allocations: 11.86 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.285, allocations: 11.88 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.123e-05/0.2851, allocations: 11.98 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.2852, allocations: 67.83 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2853, allocations: 51.84 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.763e-05/0.2854, allocations: 23.88 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.2854, allocations: 31.78 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2855, allocations: 8 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.2855, allocations: 4 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.2855, allocations: 15.94 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.2856, allocations: 39.73 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2857, allocations: 71.64 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2857, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2857, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.2857, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004356/0.2862, allocations: 379.1 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2862, allocations: 15.97 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.2862, allocations: 42.67 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.2863, allocations: 16.84 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.2865, allocations: 196.3 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2865, allocations: 4.375 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2865, allocations: 8.375 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.2867, allocations: 93.67 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2867, allocations: 3.938 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2868, allocations: 8 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2868, allocations: 3.984 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.2868, allocations: 35.98 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.2874, allocations: 440.7 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.995e-05/0.2875, allocations: 33.16 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.2875, allocations: 21.94 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.2875, allocations: 7.938 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.2875, allocations: 34.55 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2875, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001646/0.2877, allocations: 53.53 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.2878, allocations: 85.11 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.2879, allocations: 160.6 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.288, allocations: 25.95 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.288, allocations: 108.1 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.288, allocations: 3.953 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.2881, allocations: 21.67 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2882, allocations: 318.8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.2882, allocations: 7.938 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.2883, allocations: 21.72 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.2883, allocations: 33.64 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2883, allocations: 0 / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.57e-05/0.2884, allocations: 53.66 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2884, allocations: 11.94 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2884, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2885, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.2885, allocations: 11.92 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2885, allocations: 4 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.2886, allocations: 8 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.2886, allocations: 0 / 1.224 GB, free: 10.58 MB / 0.9825 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.087e-05/0.2887, allocations: 113.8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.2887, allocations: 11.89 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.2887, allocations: 11.88 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2888, allocations: 7.922 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2888, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2888, allocations: 4 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.2892, allocations: 474.7 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2892, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.2892, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2892, allocations: 4 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.2892, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2892, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2892, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.936e-05/0.2893, allocations: 93.88 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.2894, allocations: 89.14 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.2894, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.2894, allocations: 4 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.2894, allocations: 3.984 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.2894, allocations: 0 / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.436e-05/0.2895, allocations: 125.3 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2896, allocations: 4.031 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001783/0.2897, allocations: 8 kB / 1.224 GB, free: 9.535 MB / 0.9825 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.0003884/0.2901, allocations: 0.6176 MB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.157e-05/0.2902, allocations: 16.03 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2902, allocations: 3.938 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.2902, allocations: 7.938 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.2904, allocations: 8 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.2916, allocations: 1.324 MB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.2919, allocations: 0.7007 MB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.2919, allocations: 4.438 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.2919, allocations: 31.36 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.2919, allocations: 0 / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.342/1.634, allocations: 1.578 MB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.79, allocations: 8.688 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches