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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009748/0.0009748, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00775/0.00775, allocations: 170 kB / 16.26 MB, free: 6.613 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 12.28 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5662, allocations: 142.4 MB / 0.9552 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.0007974/0.567, allocations: 0.5349 MB / 0.9557 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.763e-05/0.5671, allocations: 40.38 kB / 0.9557 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.5672, allocations: 1.156 kB / 0.9557 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.5672, allocations: 8.969 kB / 0.9558 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/0.5673, allocations: 7.938 kB / 0.9558 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.746e-05/0.5673, allocations: 15.73 kB / 0.9558 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.762e-05/0.5674, allocations: 55.22 kB / 0.9558 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.5675, allocations: 42.42 kB / 0.9559 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.5676, allocations: 22.62 kB / 0.9559 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.5676, allocations: 23.36 kB / 0.9559 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.5677, allocations: 2.031 kB / 0.9559 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.5677, allocations: 1.094 kB / 0.9559 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.5677, allocations: 10.23 kB / 0.9559 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.5677, allocations: 51.02 kB / 0.956 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.582e-05/0.5678, allocations: 66.28 kB / 0.956 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5678, allocations: 1.031 kB / 0.956 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5678, allocations: 0 / 0.956 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.5678, allocations: 4 kB / 0.956 GB, free: 7.102 MB / 0.7169 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.0002777/0.5681, allocations: 369.5 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5682, allocations: 9.094 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.5682, allocations: 38.12 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.5682, allocations: 13.69 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.5684, allocations: 194.1 kB / 0.9566 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.5684, allocations: 7.625 kB / 0.9566 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.5684, allocations: 4.75 kB / 0.9566 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.5685, allocations: 95.55 kB / 0.9567 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.5685, allocations: 7.875 kB / 0.9567 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.5686, allocations: 1.219 kB / 0.9567 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5686, allocations: 2.312 kB / 0.9567 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.507e-05/0.5686, allocations: 39.61 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.569, allocations: 442.4 kB / 0.9572 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.921e-05/0.5691, allocations: 41.09 kB / 0.9572 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.5691, allocations: 18.75 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.5691, allocations: 1.281 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.5691, allocations: 39.56 kB / 0.9573 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5691, allocations: 0 / 0.9573 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001405/0.5693, allocations: 55.25 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.5693, allocations: 82.36 kB / 0.9574 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.5694, allocations: 164.3 kB / 0.9576 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.5694, allocations: 25.7 kB / 0.9576 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.5695, allocations: 108 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.5695, allocations: 8.891 kB / 0.9577 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.5695, allocations: 15.81 kB / 0.9577 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.5696, allocations: 316.1 kB / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.5696, allocations: 7.547 kB / 0.9581 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.5696, allocations: 18.31 kB / 0.9581 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.5697, allocations: 27.34 kB / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5697, allocations: 0 / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.814e-05/0.5697, allocations: 62.78 kB / 0.9582 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5697, allocations: 9.094 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.5698, allocations: 1.5 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.5698, allocations: 0 / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.5698, allocations: 5.75 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5698, allocations: 1.188 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.5699, allocations: 7.875 kB / 0.9582 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.5699, allocations: 3.938 kB / 0.9582 GB, free: 4.898 MB / 0.7169 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 4.318e-05/0.5699, allocations: 116.5 kB / 0.9583 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.57, allocations: 16.23 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.57, allocations: 11.28 kB / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.57, allocations: 0 / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.57, allocations: 0.875 kB / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.57, allocations: 5.016 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.5703, allocations: 470.6 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5703, allocations: 0 / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.5703, allocations: 2.875 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5703, allocations: 1.625 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.5703, allocations: 9.391 kB / 0.9588 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5703, allocations: 0 / 0.9588 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5703, allocations: 1.281 kB / 0.9588 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.49e-05/0.5704, allocations: 89.62 kB / 0.9589 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.5704, allocations: 92.66 kB / 0.959 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.5704, allocations: 1.344 kB / 0.959 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.5705, allocations: 0 / 0.959 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.5705, allocations: 1.781 kB / 0.959 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.5705, allocations: 1.875 kB / 0.959 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.957e-05/0.5705, allocations: 127.1 kB / 0.9591 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5705, allocations: 0 / 0.9591 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001765/0.5707, allocations: 7.781 kB / 0.9591 GB, free: 3.941 MB / 0.7169 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.0001958/0.5709, allocations: 0.6138 MB / 0.9597 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.16e-05/0.571, allocations: 14.34 kB / 0.9597 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.571, allocations: 5.562 kB / 0.9597 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-06/0.571, allocations: 7.656 kB / 0.9597 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.5712, allocations: 10.7 kB / 0.9597 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007675/0.5719, allocations: 1.345 MB / 0.961 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.012e-05/0.572, allocations: 0.691 MB / 0.9617 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.5721, allocations: 8.547 kB / 0.9617 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.5721, allocations: 18.19 kB / 0.9617 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.5721, allocations: 1.375 kB / 0.9617 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009597/0.5817, allocations: 1.361 MB / 0.9631 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.5819, allocations: 203.5 kB / 0.9633 GB, free: 436 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.126, allocations: 0 / 0.9633 GB, free: 436 kB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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