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.001482/0.001482, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001767/0.001767, allocations: 190.5 kB / 16.25 MB, free: 6.629 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.208/2.208, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 59.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.5359, allocations: 140.4 MB / 0.9492 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001763/0.5377, allocations: 0.8777 MB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.974e-05/0.5378, allocations: 45.22 kB / 0.9501 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.5379, allocations: 1.375 kB / 0.9501 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.5379, allocations: 7.922 kB / 0.9502 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.538, allocations: 1.375 kB / 0.9502 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.669e-05/0.538, allocations: 22.73 kB / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.399e-05/0.5381, allocations: 56.61 kB / 0.9502 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.5383, allocations: 48.38 kB / 0.9503 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.5383, allocations: 22.81 kB / 0.9503 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.5384, allocations: 33.28 kB / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.5384, allocations: 5.5 kB / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.5384, allocations: 6.875 kB / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.5384, allocations: 14.69 kB / 0.9504 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.5384, allocations: 37.23 kB / 0.9504 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.501e-05/0.5385, allocations: 71.7 kB / 0.9505 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5385, allocations: 0 / 0.9505 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5385, allocations: 0 / 0.9505 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5385, allocations: 1.375 kB / 0.9505 GB, free: 8.094 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.0002879/0.5388, allocations: 385.1 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.5389, allocations: 9.625 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.5389, allocations: 41.5 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.5389, allocations: 10.34 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.5391, allocations: 189.8 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.5391, allocations: 3.125 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.5391, allocations: 13.81 kB / 0.9511 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.5392, allocations: 93.11 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5392, allocations: 4.969 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.5393, allocations: 1.031 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5393, allocations: 1.156 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.385e-05/0.5393, allocations: 39.8 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.5397, allocations: 441.2 kB / 0.9516 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.604e-05/0.5398, allocations: 41.34 kB / 0.9517 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.5398, allocations: 19.38 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.5398, allocations: 1.312 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.5398, allocations: 35.97 kB / 0.9517 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5398, allocations: 4 kB / 0.9517 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.54, allocations: 59.03 kB / 0.9518 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.54, allocations: 77.11 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.5401, allocations: 167.5 kB / 0.952 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.5401, allocations: 26.98 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.5402, allocations: 107.8 kB / 0.9522 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/0.5402, allocations: 4.969 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.5402, allocations: 21.53 kB / 0.9522 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.728e-05/0.5402, allocations: 320.5 kB / 0.9525 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.5403, allocations: 4 kB / 0.9525 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.5403, allocations: 22.75 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.5403, allocations: 22.75 kB / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5403, allocations: 0 / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.603e-05/0.5404, allocations: 66.72 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.5404, allocations: 9.656 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.5404, allocations: 0 / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5405, allocations: 1.156 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.5405, allocations: 5.656 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5405, allocations: 1.281 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.5406, allocations: 1.219 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.5406, allocations: 5.578 kB / 0.9526 GB, free: 5.879 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.444e-05/0.5406, allocations: 118.7 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.5407, allocations: 14.83 kB / 0.9527 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.5407, allocations: 10.59 kB / 0.9528 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5407, allocations: 1.25 kB / 0.9528 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5407, allocations: 5.156 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5407, allocations: 0 / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.5409, allocations: 470.8 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.541, allocations: 8.047 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.541, allocations: 3.969 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.541, allocations: 0 / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.541, allocations: 1.375 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.541, allocations: 7.922 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.541, allocations: 1.625 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.409e-05/0.5411, allocations: 79.09 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.5411, allocations: 94.62 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.5411, allocations: 1.438 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.5411, allocations: 1.094 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.5412, allocations: 5 kB / 0.9534 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.5412, allocations: 5.156 kB / 0.9534 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.944e-05/0.5412, allocations: 124.5 kB / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5412, allocations: 0 / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001809/0.5414, allocations: 6.906 kB / 0.9535 GB, free: 4.918 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.0002093/0.5416, allocations: 0.6212 MB / 0.9541 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.524e-05/0.5417, allocations: 22.17 kB / 0.9542 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5417, allocations: 0 / 0.9542 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.5418, allocations: 9.094 kB / 0.9542 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.5419, allocations: 7.062 kB / 0.9542 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008124/0.5427, allocations: 1.345 MB / 0.9555 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.5428, allocations: 0.6989 MB / 0.9562 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.5429, allocations: 4.156 kB / 0.9562 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.5429, allocations: 23.8 kB / 0.9562 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5429, allocations: 0 / 0.9562 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7821/1.325, allocations: 1.475 MB / 0.9576 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/1.325, allocations: 199.6 kB / 0.9578 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/3.342, allocations: 0 / 0.9578 GB, free: 1.297 MB / 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