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.004654/0.004654, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001271/0.001271, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.88 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.7014, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002008/0.7034, allocations: 0.8195 MB / 1.221 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001166/0.7036, allocations: 43.78 kB / 1.221 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.7036, allocations: 4 kB / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.7037, allocations: 7.875 kB / 1.221 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.7038, allocations: 7.922 kB / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.184e-05/0.7038, allocations: 19.98 kB / 1.221 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.7039, allocations: 59.78 kB / 1.221 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.7041, allocations: 55.86 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.066e-05/0.7042, allocations: 23.86 kB / 1.221 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.7042, allocations: 31.84 kB / 1.221 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.7042, allocations: 4 kB / 1.221 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.7043, allocations: 8 kB / 1.221 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.7043, allocations: 11.92 kB / 1.221 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.7043, allocations: 35.8 kB / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.7045, allocations: 71.31 kB / 1.221 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7045, allocations: 8 kB / 1.221 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7045, allocations: 0 / 1.221 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.7045, allocations: 0 / 1.221 GB, free: 0.8125 MB / 0.9356 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.0004681/0.705, allocations: 383.1 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.705, allocations: 11.97 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.7051, allocations: 38.75 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.7051, allocations: 12.84 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.7053, allocations: 204.1 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.7054, allocations: 12.38 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.7054, allocations: 4.375 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.7056, allocations: 97.89 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7056, allocations: 3.938 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.7056, allocations: 4 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.7056, allocations: 4 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.7057, allocations: 31.92 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.7063, allocations: 436.7 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.992e-05/0.7063, allocations: 45.27 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.7064, allocations: 21.84 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.7064, allocations: 0 / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.7064, allocations: 34.56 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.7064, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001693/0.7066, allocations: 61.52 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.7067, allocations: 77.11 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.7068, allocations: 164.6 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.7068, allocations: 25.7 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.7069, allocations: 100.3 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.7069, allocations: 11.94 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.707, allocations: 17.67 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7071, allocations: 318.8 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.7071, allocations: 11.98 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.7072, allocations: 13.72 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.7072, allocations: 29.72 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7072, allocations: 0 / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.221e-05/0.7073, allocations: 61.58 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7074, allocations: 7.938 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7074, allocations: 3.938 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7074, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.7074, allocations: 8 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7075, allocations: 0 / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.7075, allocations: 7.938 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.7075, allocations: 4.062 kB / 1.224 GB, free: 14.32 MB / 0.9512 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.101e-05/0.7076, allocations: 125.8 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.7076, allocations: 11.89 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.7077, allocations: 3.875 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.7077, allocations: 7.938 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7077, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.7077, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.7081, allocations: 482.7 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7081, allocations: 0 / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.7082, allocations: 4 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.7082, allocations: 3.984 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.7082, allocations: 4 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7082, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7082, allocations: 4 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.7083, allocations: 77.95 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.7084, allocations: 93.05 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.7084, allocations: 0 / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.7084, allocations: 0 / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.7084, allocations: 3.938 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.7084, allocations: 4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001046/0.7085, allocations: 121.9 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7086, allocations: 0 / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001898/0.7087, allocations: 8 kB / 1.224 GB, free: 13.27 MB / 0.9512 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.0004085/0.7092, allocations: 0.6138 MB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.926e-05/0.7093, allocations: 19.94 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7093, allocations: 4.156 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.7093, allocations: 11.98 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.7094, allocations: 4 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.7107, allocations: 1.33 MB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.711, allocations: 0.6929 MB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.7111, allocations: 12.45 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.7111, allocations: 27.38 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.7111, allocations: 0 / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.733, allocations: 1.581 MB / 1.229 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/8.349, allocations: 10.34 kB / 1.229 GB, free: 8.902 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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