Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.To_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_11_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.001527/0.001527, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001553/0.001553, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.619/2.619, allocations: 469.8 MB / 0.7421 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 65.41 kB / 0.9082 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2603, allocations: 159.2 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002024/0.2623, allocations: 0.8823 MB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.2625, allocations: 43.78 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.2625, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.2626, allocations: 7.922 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.2627, allocations: 3.938 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.524e-05/0.2627, allocations: 16 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.048e-05/0.2628, allocations: 59.84 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2629, allocations: 43.95 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.263, allocations: 31.8 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.2631, allocations: 27.86 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2631, allocations: 4 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.2631, allocations: 8 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.2631, allocations: 19.92 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.2632, allocations: 39.73 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.871e-05/0.2633, allocations: 67.98 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2633, allocations: 0 / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2633, allocations: 0 / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2633, allocations: 0 / 1.065 GB, free: 13.31 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.0003992/0.2637, allocations: 371.3 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2637, allocations: 16.02 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.2638, allocations: 34.75 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.2638, allocations: 16.75 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.264, allocations: 196.1 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.264, allocations: 12.31 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.264, allocations: 4.375 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2642, allocations: 93.14 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2642, allocations: 7.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.2642, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2642, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.2643, allocations: 35.98 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.2648, allocations: 440.5 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.2649, allocations: 45.08 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.2649, allocations: 21.84 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.2649, allocations: 4 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.265, allocations: 34.59 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.265, allocations: 0 / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.2651, allocations: 61.47 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.2652, allocations: 81.36 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.2653, allocations: 166.2 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2653, allocations: 25.7 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.646e-05/0.2654, allocations: 100 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/0.2654, allocations: 7.891 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.2655, allocations: 17.72 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2656, allocations: 318.8 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.2656, allocations: 7.984 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.474e-05/0.2657, allocations: 25.7 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.2657, allocations: 25.66 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2657, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.565e-05/0.2658, allocations: 57.59 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2658, allocations: 11.94 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2658, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.2658, allocations: 64 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.2659, allocations: 12 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2659, allocations: 3.938 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.2659, allocations: 7.844 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.266, allocations: 4 kB / 1.067 GB, free: 10.82 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.742e-05/0.266, allocations: 113.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.2661, allocations: 15.83 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.2661, allocations: 11.81 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2661, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2661, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2661, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.2665, allocations: 466.8 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2666, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.2666, allocations: 4 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2666, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2666, allocations: 7.984 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2666, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2666, allocations: 4.062 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.318e-05/0.2667, allocations: 81.78 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.2668, allocations: 85 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.2668, allocations: 4 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.2668, allocations: 4 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.2668, allocations: 3.969 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.2668, allocations: 4 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.856e-05/0.2669, allocations: 122.1 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2669, allocations: 0 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000178/0.2671, allocations: 8 kB / 1.068 GB, free: 9.777 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.0004168/0.2675, allocations: 0.6248 MB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.2676, allocations: 12 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2676, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.2677, allocations: 11.92 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.2678, allocations: 4.984 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.269, allocations: 1.335 MB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.2693, allocations: 0.6963 MB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.2694, allocations: 8.422 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.2694, allocations: 27.42 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2694, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/0.4883, allocations: 1.463 MB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/0.4886, allocations: 200.5 kB / 1.072 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.185, allocations: 0 / 1.072 GB, free: 5.305 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches