Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001281/0.001281, allocations: 108 kB / 15.6 MB, free: 132 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.001293/0.001293, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.417/2.417, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4846, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001824/0.4865, allocations: 0.8211 MB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.509e-05/0.4866, allocations: 47.78 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.4866, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.4867, allocations: 11.86 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.4868, allocations: 11.88 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.772e-05/0.4868, allocations: 15.98 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.4869, allocations: 59.84 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.487, allocations: 47.95 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.4871, allocations: 27.8 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.428e-05/0.4871, allocations: 27.86 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.4871, allocations: 4 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-06/0.4871, allocations: 8 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.4872, allocations: 15.92 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.4872, allocations: 31.81 kB / 1.019 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.383e-05/0.4873, allocations: 77.94 kB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.4873, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4873, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.4873, allocations: 0 / 1.019 GB, free: 1.301 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.0003399/0.4877, allocations: 379.2 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.4877, allocations: 12.03 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.4877, allocations: 42.73 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.4878, allocations: 8.844 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.4879, allocations: 192.2 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.4879, allocations: 8.375 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.488, allocations: 12.36 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.4881, allocations: 97.88 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4881, allocations: 11.88 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.4881, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4881, allocations: 0 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.51e-05/0.4882, allocations: 35.98 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.4886, allocations: 440.7 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.294e-05/0.4887, allocations: 37.16 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.4887, allocations: 21.83 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-06/0.4887, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.4888, allocations: 38.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4888, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001387/0.4889, allocations: 53.55 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.489, allocations: 81.05 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.4891, allocations: 168.4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.4891, allocations: 29.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.4892, allocations: 104 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/0.4892, allocations: 3.906 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.4892, allocations: 17.72 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.4893, allocations: 326.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.4893, allocations: 4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.4893, allocations: 21.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.4894, allocations: 25.72 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4894, allocations: 3.938 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.239e-05/0.4895, allocations: 53.61 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4895, allocations: 15.92 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.4895, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.4895, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.4896, allocations: 8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4896, allocations: 8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.4896, allocations: 7.906 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.4896, allocations: 4 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 5.67e-05/0.4897, allocations: 113.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.4897, allocations: 11.84 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.4897, allocations: 11.86 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4897, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4898, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4898, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.4901, allocations: 470.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4901, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.4901, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4901, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-06/0.4901, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4901, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4902, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.202e-05/0.4902, allocations: 93.83 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.4903, allocations: 84.95 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4903, allocations: 7.984 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.4903, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.4903, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.4903, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.62e-05/0.4904, allocations: 124.9 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4904, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001819/0.4906, allocations: 8 kB / 1.022 GB, free: 13.75 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.000286/0.4909, allocations: 0.6151 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.403e-05/0.491, allocations: 23.97 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.491, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.491, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.4911, allocations: 7.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.4921, allocations: 1.323 MB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.4923, allocations: 0.6924 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.4924, allocations: 12.42 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.4924, allocations: 23.44 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.4924, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.5076, allocations: 1.543 MB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/7.037, allocations: 9.781 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_hp.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches