Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_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.001674/0.001674, allocations: 108 kB / 15.6 MB, free: 132 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.002053/0.002054, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 65.84 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2452, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001972/0.2472, allocations: 0.8246 MB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001082/0.2473, allocations: 43.78 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.2474, allocations: 4 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.2474, allocations: 11.81 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-05/0.2475, allocations: 15.86 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.385e-05/0.2476, allocations: 15.98 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.2477, allocations: 59.86 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2478, allocations: 43.95 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/0.2479, allocations: 31.81 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.2479, allocations: 31.83 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.248, allocations: 8 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.248, allocations: 4 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.248, allocations: 15.94 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.248, allocations: 35.73 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2482, allocations: 68 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2482, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2482, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.2482, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 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.0003709/0.2486, allocations: 375.3 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2486, allocations: 8.031 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.2486, allocations: 38.75 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.2487, allocations: 12.75 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.2489, allocations: 204.1 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2489, allocations: 4.375 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2489, allocations: 12.38 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.249, allocations: 89.2 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2491, allocations: 11.81 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2491, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2491, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.2492, allocations: 35.98 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.2497, allocations: 436.7 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.2497, allocations: 37.16 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.2498, allocations: 17.78 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.2498, allocations: 4 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2498, allocations: 38.5 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.2498, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.25, allocations: 53.53 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.25, allocations: 89.05 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2502, allocations: 156.6 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.2502, allocations: 29.7 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.2502, allocations: 104 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-06/0.2503, allocations: 4.156 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.2503, allocations: 25.66 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2504, allocations: 314.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.2504, allocations: 8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.2505, allocations: 17.72 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.2505, allocations: 29.7 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2505, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.506e-05/0.2506, allocations: 57.64 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2506, allocations: 7.938 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2506, allocations: 7.984 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.2507, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.2507, allocations: 11.98 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2507, allocations: 3.984 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.2508, allocations: 15.78 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.2508, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 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 7.125e-05/0.2509, allocations: 119.7 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.2509, allocations: 11.84 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.2509, allocations: 7.875 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.2509, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2509, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.251, allocations: 11.92 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.2513, allocations: 470.8 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2513, allocations: 8.062 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.2513, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2514, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.2514, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2514, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2514, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.697e-05/0.2515, allocations: 89.77 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.2515, allocations: 85.02 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2515, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.2515, allocations: 4 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.2516, allocations: 3.984 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.2516, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.831e-05/0.2517, allocations: 117.9 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2517, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001972/0.2519, allocations: 15.98 kB / 1.068 GB, free: 9.766 MB / 0.8262 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.000302/0.2522, allocations: 0.6114 MB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.2523, allocations: 23.92 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2523, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.2523, allocations: 12.16 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.2524, allocations: 11.94 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.2536, allocations: 1.316 MB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2538, allocations: 0.6928 MB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.2539, allocations: 4.438 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.2539, allocations: 27.42 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2539, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.27, allocations: 1.543 MB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.277, allocations: 15.94 kB / 1.072 GB, free: 5.438 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches