Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_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.001829/0.001829, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00221/0.00221, allocations: 192 kB / 16.25 MB, free: 6.637 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.23/2.23, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.293/4.293, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.64 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.297, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002099/0.2991, allocations: 0.8841 MB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.2993, allocations: 43.78 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.2993, allocations: 0 / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.2994, allocations: 7.922 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.2995, allocations: 4 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.61e-05/0.2995, allocations: 12 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.2996, allocations: 63.78 kB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.2998, allocations: 55.95 kB / 1.053 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.2998, allocations: 19.86 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.2999, allocations: 31.8 kB / 1.054 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2999, allocations: 4 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.2999, allocations: 8 kB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.3, allocations: 15.92 kB / 1.054 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.3, allocations: 39.75 kB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3001, allocations: 71.97 kB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.3002, allocations: 4 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3002, allocations: 3.938 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3002, allocations: 0 / 1.054 GB, free: 7.406 MB / 0.8106 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.0004039/0.3006, allocations: 371.3 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3006, allocations: 12.62 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.3007, allocations: 38.73 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.3007, allocations: 8.844 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3009, allocations: 196.1 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3009, allocations: 16.28 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.301, allocations: 4.375 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3011, allocations: 93.3 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3011, allocations: 11.88 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3011, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3012, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.3012, allocations: 39.92 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.3018, allocations: 444.6 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.854e-05/0.3019, allocations: 45.17 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.3019, allocations: 21.84 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.3019, allocations: 4 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3019, allocations: 30.56 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3019, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001704/0.3021, allocations: 57.48 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3022, allocations: 81.09 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3023, allocations: 161 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3023, allocations: 29.95 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.3024, allocations: 100 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.3024, allocations: 7.906 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.3025, allocations: 17.7 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3026, allocations: 318.8 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.3026, allocations: 11.98 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.3026, allocations: 13.72 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.3027, allocations: 33.66 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3027, allocations: 0 / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.505e-05/0.3028, allocations: 57.62 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3028, allocations: 15.88 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3028, allocations: 3.984 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3028, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.3029, allocations: 8 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3029, allocations: 0 / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.3029, allocations: 11.91 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3029, allocations: 4 kB / 1.056 GB, free: 4.914 MB / 0.8106 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 9.62e-05/0.303, allocations: 113.8 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.3031, allocations: 11.84 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3031, allocations: 11.86 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3031, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3031, allocations: 4 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3032, allocations: 3.938 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.3035, allocations: 474.8 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3035, allocations: 0 / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.3036, allocations: 4 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3036, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.3036, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3036, allocations: 3.984 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3036, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.38e-05/0.3037, allocations: 85.84 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.3037, allocations: 89 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3038, allocations: 4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.3038, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.3038, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.3038, allocations: 4 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.698e-05/0.3039, allocations: 119.2 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3039, allocations: 4.031 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002072/0.3041, allocations: 8 kB / 1.057 GB, free: 3.879 MB / 0.8106 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.0003348/0.3045, allocations: 0.617 MB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.847e-05/0.3046, allocations: 16.03 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3046, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.3046, allocations: 11.94 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.3048, allocations: 7.984 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3059, allocations: 1.345 MB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.3061, allocations: 0.6924 MB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.3062, allocations: 12.42 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.3062, allocations: 31.36 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3062, allocations: 0 / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4895/0.7958, allocations: 1.46 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003358/0.7962, allocations: 212.2 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/3.746, allocations: 3.938 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches