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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001074/0.001073, allocations: 193.7 kB / 16.14 MB, free: 6.648 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5043, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002033/0.5063, allocations: 0.8898 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001081/0.5065, allocations: 47.78 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.5065, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.977e-05/0.5066, allocations: 3.938 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.5067, allocations: 3.938 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.185e-05/0.5067, allocations: 19.98 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.48e-05/0.5068, allocations: 55.77 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.5069, allocations: 47.95 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.507, allocations: 19.81 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.507, allocations: 35.83 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.5071, allocations: 4 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.5071, allocations: 4 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.5071, allocations: 7.938 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.5071, allocations: 31.8 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.809e-05/0.5072, allocations: 69.95 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5072, allocations: 4 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5072, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.5072, allocations: 0 / 1.018 GB, free: 1.52 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.0003733/0.5076, allocations: 383.3 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5077, allocations: 8.031 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.5077, allocations: 38.75 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.5077, allocations: 8.844 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.5079, allocations: 196.1 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.5079, allocations: 4.375 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.508, allocations: 16.31 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5081, allocations: 91.86 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5081, allocations: 7.938 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.5081, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5081, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.5082, allocations: 39.92 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.5087, allocations: 440.4 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.5088, allocations: 41.34 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.5088, allocations: 17.78 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.5088, allocations: 8 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.5088, allocations: 30.56 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.5088, allocations: 0 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.509, allocations: 57.53 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.5091, allocations: 85.05 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.5092, allocations: 159.8 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.5092, allocations: 29.95 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.5093, allocations: 108 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.5093, allocations: 7.906 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.5093, allocations: 13.72 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.5094, allocations: 318.8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.5095, allocations: 8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.5095, allocations: 13.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.5095, allocations: 33.72 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5095, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.136e-05/0.5096, allocations: 57.53 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5096, allocations: 9.5 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5097, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5097, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.5097, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.5097, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.5098, allocations: 11.97 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.5098, allocations: 3.984 kB / 1.02 GB, free: 15.03 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 7.139e-05/0.5099, allocations: 117.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.5099, allocations: 11.84 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.5099, allocations: 15.95 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5099, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.51, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.51, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.5103, allocations: 474.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5103, allocations: 7.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.5103, allocations: 3.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5103, allocations: 7.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.5104, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.5104, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5104, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.369e-05/0.5104, allocations: 77.91 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.5105, allocations: 96.94 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.5105, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.5105, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.5106, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.5106, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.5106, allocations: 121.3 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5107, allocations: 4.031 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000184/0.5108, allocations: 8 kB / 1.021 GB, free: 13.98 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.0003467/0.5112, allocations: 0.6137 MB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.226e-05/0.5113, allocations: 23.95 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5113, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.5113, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.5115, allocations: 9.891 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.5126, allocations: 1.347 MB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.5128, allocations: 0.6926 MB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.5128, allocations: 4.438 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.5129, allocations: 31.42 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5129, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.523, allocations: 1.418 MB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.5232, allocations: 219.3 kB / 1.025 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.981, allocations: 0 / 1.025 GB, free: 9.512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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