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.001043/0.001044, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.481/2.481, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5561, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002114/0.5582, allocations: 0.8172 MB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001261/0.5584, allocations: 43.78 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.5585, allocations: 4 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.5585, allocations: 15.81 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.5586, allocations: 11.86 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.569e-05/0.5587, allocations: 15.98 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.5588, allocations: 67.83 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.5589, allocations: 39.97 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/0.559, allocations: 23.88 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.559, allocations: 27.84 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.5591, allocations: 11.94 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.5591, allocations: 4 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.5591, allocations: 19.92 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.5592, allocations: 27.81 kB / 1.019 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.5593, allocations: 73.95 kB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5593, allocations: 0 / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5593, allocations: 4 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.5593, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.7637 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.0003933/0.5597, allocations: 383.1 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5597, allocations: 8.031 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.5598, allocations: 42.73 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.5598, allocations: 12.84 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.56, allocations: 196.2 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.56, allocations: 384 / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.56, allocations: 16.36 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5602, allocations: 91.86 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5602, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5602, allocations: 4 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5602, allocations: 7.984 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.5603, allocations: 43.86 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.5608, allocations: 432.6 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.5609, allocations: 41.34 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.5609, allocations: 13.78 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.5609, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.561, allocations: 38.55 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.561, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001736/0.5612, allocations: 57.48 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.5612, allocations: 81.11 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.5613, allocations: 159.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.5614, allocations: 33.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.5614, allocations: 108.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.084e-06/0.5614, allocations: 3.906 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.5615, allocations: 21.66 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.5616, allocations: 326.8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.5616, allocations: 4 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.5616, allocations: 17.72 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.5617, allocations: 33.7 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.5617, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.965e-05/0.5618, allocations: 57.55 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5618, allocations: 9.344 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5618, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5618, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.5619, allocations: 7.984 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5619, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.5619, allocations: 7.906 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.5619, allocations: 4.062 kB / 1.021 GB, free: 14.79 MB / 0.7794 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.244e-05/0.562, allocations: 113.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.5621, allocations: 11.84 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.5621, allocations: 11.88 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5621, allocations: 3.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5621, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5621, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.5625, allocations: 462.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5625, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.5625, allocations: 7.875 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5625, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.5625, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5625, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5625, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.096e-05/0.5626, allocations: 85.89 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.5627, allocations: 88.95 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.5627, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.5627, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.5627, allocations: 3.984 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.5627, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.027e-05/0.5628, allocations: 129.4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5628, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001908/0.563, allocations: 12.03 kB / 1.022 GB, free: 13.74 MB / 0.7794 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.0003288/0.5633, allocations: 0.6132 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.789e-05/0.5634, allocations: 16.03 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5634, allocations: 4.062 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.5635, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.5636, allocations: 11.94 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.5647, allocations: 1.326 MB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.5649, allocations: 0.6924 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.5649, allocations: 12.5 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.565, allocations: 19.44 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.565, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5662/1.131, allocations: 1.538 MB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.39, allocations: 15.52 kB / 1.026 GB, free: 9.41 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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