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.007127/0.007127, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001829/0.001829, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.306/2.306, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.56 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.24, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001987/0.242, allocations: 0.8099 MB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.2422, allocations: 47.78 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.2422, allocations: 0 / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.2423, allocations: 7.875 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.825e-05/0.2424, allocations: 7.875 kB / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.657e-05/0.2424, allocations: 23.97 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/0.2425, allocations: 59.84 kB / 1.088 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.2427, allocations: 47.95 kB / 1.088 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.2427, allocations: 31.8 kB / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.2428, allocations: 23.86 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.2428, allocations: 8 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.2428, allocations: 8 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.2429, allocations: 15.92 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.2429, allocations: 35.75 kB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.243, allocations: 79.84 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.243, allocations: 7.875 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.243, allocations: 0 / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.243, allocations: 0 / 1.089 GB, free: 0.7539 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.0003944/0.2434, allocations: 379.1 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2435, allocations: 12.03 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.2435, allocations: 42.73 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.2436, allocations: 8.891 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.2438, allocations: 188.3 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.2438, allocations: 8.375 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.2438, allocations: 4.375 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.244, allocations: 99.86 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.244, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.244, allocations: 8 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.244, allocations: 4 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.2441, allocations: 35.92 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.2446, allocations: 436.7 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.2446, allocations: 37.19 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.2447, allocations: 29.83 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.2447, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2447, allocations: 30.56 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2447, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001578/0.2449, allocations: 53.53 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.245, allocations: 85.36 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.2451, allocations: 160.9 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.2451, allocations: 25.7 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.2452, allocations: 108 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.2452, allocations: 11.89 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.2452, allocations: 17.7 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.2453, allocations: 318.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.2453, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.2454, allocations: 25.7 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.2454, allocations: 33.66 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2454, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.942e-05/0.2455, allocations: 57.58 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2455, allocations: 13.34 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2455, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2456, allocations: 64 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.2456, allocations: 8 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2456, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.2457, allocations: 3.953 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2457, allocations: 7.938 kB / 1.091 GB, free: 14.27 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.863e-05/0.2458, allocations: 109.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.2458, allocations: 15.89 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.2458, allocations: 11.86 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2458, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.2459, allocations: 8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2459, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.2462, allocations: 470.8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2462, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.2463, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2463, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2463, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2463, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2463, allocations: 4.062 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.998e-05/0.2464, allocations: 81.81 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.2464, allocations: 93.05 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2464, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.203e-05/0.2465, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.2465, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2465, allocations: 4.031 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.443e-05/0.2466, allocations: 125.2 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2466, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001943/0.2468, allocations: 15.89 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.000325/0.2471, allocations: 0.621 MB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.2472, allocations: 12 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2472, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.2472, allocations: 11.94 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.0001486/0.2474, allocations: 7.984 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2485, allocations: 1.332 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2487, allocations: 0.6967 MB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.2487, allocations: 12.5 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.2488, allocations: 23.44 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2488, allocations: 0 / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.2653, allocations: 1.574 MB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.299, allocations: 12 kB / 1.096 GB, free: 8.863 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