Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.001381/0.001381, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001531/0.001531, allocations: 187.8 kB / 16.25 MB, free: 6.586 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.258/1.258, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.344/2.344, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5061, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001859/0.508, allocations: 0.896 MB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.665e-05/0.5081, allocations: 35.8 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.5082, allocations: 4 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.5082, allocations: 3.938 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/0.5083, allocations: 7.922 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.029e-05/0.5083, allocations: 15.98 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.5084, allocations: 63.84 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.5085, allocations: 39.97 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.5086, allocations: 23.88 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.5086, allocations: 31.78 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.5087, allocations: 8 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-06/0.5087, allocations: 4 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.5087, allocations: 15.94 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.5087, allocations: 31.8 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.105e-05/0.5088, allocations: 77.95 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5088, allocations: 3.938 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5089, allocations: 0 / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.5089, allocations: 0 / 1.018 GB, free: 1.441 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.000347/0.5092, allocations: 383.1 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.5093, allocations: 8.031 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.5093, allocations: 38.75 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.5093, allocations: 16.83 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.5095, allocations: 196.2 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.5095, allocations: 4.375 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.5095, allocations: 8.375 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.5097, allocations: 91.86 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.5097, allocations: 3.938 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.5097, allocations: 4 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5097, allocations: 4 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.5098, allocations: 43.91 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.5102, allocations: 432.6 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.337e-05/0.5103, allocations: 41.28 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.5103, allocations: 21.83 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.5103, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.5104, allocations: 34.56 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5104, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.5105, allocations: 61.42 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5106, allocations: 77.11 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.5107, allocations: 168.6 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.5107, allocations: 25.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.5108, allocations: 111.9 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.5108, allocations: 7.906 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.5108, allocations: 17.72 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.5109, allocations: 318.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.5109, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.5109, allocations: 21.7 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.511, allocations: 29.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.511, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.307e-05/0.5111, allocations: 61.55 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.5111, allocations: 9.188 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5111, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.5111, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.5112, allocations: 7.984 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5112, allocations: 4.062 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.5112, allocations: 7.906 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.5112, allocations: 7.922 kB / 1.02 GB, free: 14.94 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.684e-05/0.5113, allocations: 114.4 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.5113, allocations: 15.78 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.5114, allocations: 11.88 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5114, allocations: 3.984 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5114, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.5114, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.5117, allocations: 470.8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5117, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.5117, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5118, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.5118, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5118, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5118, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.879e-05/0.5118, allocations: 85.89 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.5119, allocations: 88.95 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.5119, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.5119, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.512, allocations: 11.92 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.512, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.512, allocations: 128.7 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.512, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001802/0.5122, allocations: 8 kB / 1.021 GB, free: 13.89 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.0002816/0.5125, allocations: 0.6132 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.934e-05/0.5126, allocations: 19.94 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5126, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.5126, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.5128, allocations: 8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.5137, allocations: 1.351 MB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.5139, allocations: 0.6885 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.514, allocations: 12.42 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.514, allocations: 23.44 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.514, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009882/0.5239, allocations: 1.465 MB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.5241, allocations: 218.6 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.04, allocations: 0 / 1.026 GB, free: 9.41 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches