Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.007364/0.007364, allocations: 106.8 kB / 15.74 MB, free: 6.441 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.001882/0.001882, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.324/2.324, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 62.64 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2472, allocations: 140.4 MB / 1.087 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001843/0.2491, allocations: 0.8122 MB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.2493, allocations: 55.78 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.2493, allocations: 0 / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.834e-05/0.2494, allocations: 11.81 kB / 1.088 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.707e-05/0.2494, allocations: 7.922 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.743e-05/0.2495, allocations: 23.92 kB / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.772e-05/0.2496, allocations: 59.84 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2497, allocations: 43.95 kB / 1.088 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.2498, allocations: 27.86 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.2499, allocations: 23.86 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2499, allocations: 8 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-06/0.2499, allocations: 4 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.2499, allocations: 23.86 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.25, allocations: 35.75 kB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2501, allocations: 74.5 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2501, allocations: 4 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2501, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2501, allocations: 0 / 1.089 GB, free: 0.7461 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004004/0.2505, allocations: 376.1 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2506, allocations: 8.031 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.2506, allocations: 46.73 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.2506, allocations: 16.73 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.2508, allocations: 192.2 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.2508, allocations: 4.375 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.2509, allocations: 16.36 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.251, allocations: 89.52 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.251, allocations: 7.875 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.2511, allocations: 0 / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2511, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.373e-05/0.2511, allocations: 35.98 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.2516, allocations: 436.7 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.2517, allocations: 41.16 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.2517, allocations: 17.77 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.2518, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2518, allocations: 50.5 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.2518, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001524/0.252, allocations: 49.55 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.252, allocations: 85.03 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2521, allocations: 156.9 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.2522, allocations: 25.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.2522, allocations: 112.2 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.2522, allocations: 3.906 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.2523, allocations: 25.64 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.2524, allocations: 314.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.2524, allocations: 7.984 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.2524, allocations: 17.72 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.2525, allocations: 29.72 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2525, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.143e-05/0.2526, allocations: 61.53 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2526, allocations: 7.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2526, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2526, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.2527, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2527, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.2527, allocations: 15.78 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.2527, allocations: 64 / 1.091 GB, free: 14.26 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 6.635e-05/0.2528, allocations: 117.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.2529, allocations: 11.84 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.2529, allocations: 15.86 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2529, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2529, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2529, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.2533, allocations: 470.8 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2533, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.2533, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2533, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.2533, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2533, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2533, allocations: 3.984 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.957e-05/0.2534, allocations: 85.84 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.2535, allocations: 89 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2535, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.2535, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.2535, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.2535, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.999e-05/0.2536, allocations: 124.3 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2536, allocations: 3.938 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001911/0.2538, allocations: 8 kB / 1.092 GB, free: 13.22 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.0003261/0.2542, allocations: 0.6132 MB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.856e-05/0.2542, allocations: 19.94 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2543, allocations: 4.156 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.2543, allocations: 4 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.2544, allocations: 19.92 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2555, allocations: 1.333 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.2557, allocations: 0.6968 MB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.2558, allocations: 12.41 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.2558, allocations: 19.44 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2558, allocations: 0 / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.2718, allocations: 1.574 MB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.327, allocations: 4.844 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches