Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_10_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.004677/0.004677, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001309/0.001309, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.265, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001935/0.267, allocations: 0.8217 MB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.2671, allocations: 47.78 kB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.2672, allocations: 0 / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.2672, allocations: 7.875 kB / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.2673, allocations: 11.92 kB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.266e-05/0.2673, allocations: 15.98 kB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2675, allocations: 67.72 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2676, allocations: 43.97 kB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.271e-05/0.2677, allocations: 27.86 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.2677, allocations: 35.78 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.2677, allocations: 4 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.2678, allocations: 12 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.2678, allocations: 11.94 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.2678, allocations: 35.73 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.268, allocations: 75.86 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.268, allocations: 0 / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.268, allocations: 4 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.268, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 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.000431/0.2684, allocations: 379.1 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2685, allocations: 12.03 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.2685, allocations: 38.75 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.2685, allocations: 20.84 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.2688, allocations: 192.2 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2688, allocations: 4.375 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.2688, allocations: 8.375 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.269, allocations: 87.95 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.269, allocations: 7.875 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.269, allocations: 4 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.269, allocations: 7.984 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.2691, allocations: 39.92 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.2696, allocations: 436.6 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.044e-05/0.2697, allocations: 41.28 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.2698, allocations: 21.84 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2698, allocations: 34.56 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.27, allocations: 61.52 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.27, allocations: 85.3 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2702, allocations: 155.9 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2702, allocations: 29.7 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.2703, allocations: 96.09 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.2703, allocations: 11.88 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.2704, allocations: 17.72 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2705, allocations: 322.8 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.2705, allocations: 4 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.2706, allocations: 25.66 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.2706, allocations: 21.72 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2706, allocations: 4 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.48e-05/0.2707, allocations: 69.53 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2707, allocations: 7.938 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2707, allocations: 0 / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2707, allocations: 4.062 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.2708, allocations: 8 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2708, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.2709, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2709, allocations: 4 kB / 1.17 GB, free: 3.555 MB / 0.92 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 8.748e-05/0.271, allocations: 121.8 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.271, allocations: 11.89 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.271, allocations: 7.875 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.271, allocations: 4 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2711, allocations: 4 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2711, allocations: 3.938 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.2715, allocations: 470.7 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2715, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.2715, allocations: 7.984 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2715, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-06/0.2715, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2716, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2716, allocations: 8.062 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.907e-05/0.2717, allocations: 77.89 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.2717, allocations: 85.05 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2717, allocations: 4 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.2718, allocations: 3.938 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-06/0.2718, allocations: 32 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.2718, allocations: 8 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.572e-05/0.2719, allocations: 119.9 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2719, allocations: 4 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001966/0.2721, allocations: 7.938 kB / 1.17 GB, free: 2.508 MB / 0.92 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.0004017/0.2725, allocations: 0.6172 MB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.263e-05/0.2726, allocations: 27.92 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2726, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.2726, allocations: 4 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.2728, allocations: 4 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.274, allocations: 1.334 MB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.2744, allocations: 0.6929 MB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.2744, allocations: 8.422 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.2745, allocations: 23.44 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2745, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.2964, allocations: 1.575 MB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.225, allocations: 15.52 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches