Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.007943/0.007943, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001903/0.001903, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.519/2.519, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 68.11 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6679/0.6696, allocations: 159.1 MB / 1.22 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002122/0.6718, allocations: 1.284 MB / 1.221 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.148/0.8198, allocations: 147.6 MB / 1.366 GB, free: 12.58 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.8198, allocations: 0 / 1.366 GB, free: 12.58 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.8199, allocations: 0 / 1.366 GB, free: 12.58 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.8199, allocations: 3.938 kB / 1.366 GB, free: 12.57 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.8203, allocations: 123.4 kB / 1.366 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 5.396e-05/0.8204, allocations: 19.88 kB / 1.366 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.8204, allocations: 3.984 kB / 1.366 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.8205, allocations: 8 kB / 1.366 GB, free: 12.42 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.8205, allocations: 11.92 kB / 1.366 GB, free: 12.41 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.8205, allocations: 0 / 1.366 GB, free: 12.41 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.8209, allocations: 171.7 kB / 1.366 GB, free: 12.24 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.8209, allocations: 4 kB / 1.366 GB, free: 12.24 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.8209, allocations: 11.94 kB / 1.366 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.8211, allocations: 111.4 kB / 1.366 GB, free: 12.12 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8212, allocations: 0 / 1.366 GB, free: 12.12 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8212, allocations: 3.938 kB / 1.366 GB, free: 12.12 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.8212, allocations: 0 / 1.366 GB, free: 12.12 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003286/0.8215, allocations: 351.2 kB / 1.366 GB, free: 11.73 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.8215, allocations: 12.03 kB / 1.366 GB, free: 11.72 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.8216, allocations: 30.75 kB / 1.366 GB, free: 11.68 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.8221, allocations: 40.84 kB / 1.366 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.8222, allocations: 176.1 kB / 1.367 GB, free: 11.43 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.8222, allocations: 0 / 1.367 GB, free: 11.43 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.8222, allocations: 0 / 1.367 GB, free: 11.43 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.8224, allocations: 49.64 kB / 1.367 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.8224, allocations: 0 / 1.367 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.8224, allocations: 0 / 1.367 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.8224, allocations: 4 kB / 1.367 GB, free: 11.37 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.8225, allocations: 23.92 kB / 1.367 GB, free: 11.35 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.8229, allocations: 252.8 kB / 1.367 GB, free: 11.05 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/0.8229, allocations: 26.58 kB / 1.367 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.8229, allocations: 12.92 kB / 1.367 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.823, allocations: 0 / 1.367 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.823, allocations: 30.56 kB / 1.367 GB, free: 10.96 MB / 1.092 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.823, allocations: 0 / 1.367 GB, free: 10.96 MB / 1.092 GB Notification: Performance of matching and sorting (n=2): time 0.0001336/0.8231, allocations: 49.62 kB / 1.367 GB, free: 10.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.8232, allocations: 55.34 kB / 1.367 GB, free: 10.84 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.8233, allocations: 109.9 kB / 1.367 GB, free: 10.72 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8233, allocations: 33.7 kB / 1.367 GB, free: 10.68 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.8234, allocations: 88.09 kB / 1.367 GB, free: 10.59 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.8234, allocations: 7.938 kB / 1.367 GB, free: 10.59 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.8234, allocations: 25.64 kB / 1.367 GB, free: 10.55 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8236, allocations: 310.8 kB / 1.368 GB, free: 10.24 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.8236, allocations: 11.98 kB / 1.368 GB, free: 10.23 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.8237, allocations: 11.98 kB / 1.368 GB, free: 10.22 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.8238, allocations: 20.86 kB / 1.368 GB, free: 10.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8238, allocations: 0 / 1.368 GB, free: 10.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000179/0.824, allocations: 61.59 kB / 1.368 GB, free: 10.13 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.824, allocations: 8 kB / 1.368 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.824, allocations: 0 / 1.368 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.824, allocations: 0 / 1.368 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.8241, allocations: 11.98 kB / 1.368 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8241, allocations: 0 / 1.368 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.8243, allocations: 11.94 kB / 1.368 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.8243, allocations: 3.984 kB / 1.368 GB, free: 10.09 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.911e-05/0.8244, allocations: 109.8 kB / 1.368 GB, free: 9.977 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.8244, allocations: 7.953 kB / 1.368 GB, free: 9.969 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.474e-05/0.8244, allocations: 3.125 kB / 1.368 GB, free: 9.965 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.8244, allocations: 4 kB / 1.368 GB, free: 9.961 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.8244, allocations: 0 / 1.368 GB, free: 9.961 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8244, allocations: 3.938 kB / 1.368 GB, free: 9.957 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.8246, allocations: 153.7 kB / 1.368 GB, free: 9.758 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.8246, allocations: 0 / 1.368 GB, free: 9.758 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.8246, allocations: 11.92 kB / 1.368 GB, free: 9.746 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.8246, allocations: 336 / 1.368 GB, free: 9.746 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-06/0.8246, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.8246, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.8246, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.8248, allocations: 139.5 kB / 1.368 GB, free: 9.594 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.8248, allocations: 89.08 kB / 1.368 GB, free: 9.488 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.8248, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.8249, allocations: 4 kB / 1.368 GB, free: 9.484 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.8249, allocations: 7.875 kB / 1.368 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.825, allocations: 4 kB / 1.368 GB, free: 9.473 MB / 1.092 GB Notification: Performance of sorting global known variables: time 8.824e-05/0.825, allocations: 87.27 kB / 1.368 GB, free: 9.387 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8251, allocations: 4.031 kB / 1.368 GB, free: 9.383 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002256/0.8253, allocations: 15.94 kB / 1.368 GB, free: 9.367 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0004146/0.8257, allocations: 0.6856 MB / 1.369 GB, free: 8.656 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.8258, allocations: 24.02 kB / 1.369 GB, free: 8.633 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8259, allocations: 0 / 1.369 GB, free: 8.633 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.8259, allocations: 7.938 kB / 1.369 GB, free: 8.625 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.8261, allocations: 17.58 kB / 1.369 GB, free: 8.609 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.8265, allocations: 152.7 kB / 1.369 GB, free: 8.422 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.8268, allocations: 0.6768 MB / 1.37 GB, free: 7.719 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 4.826e-05/0.8268, allocations: 4.062 kB / 1.37 GB, free: 7.715 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8269, allocations: 19.44 kB / 1.37 GB, free: 7.695 MB / 1.092 GB Notification: Performance of SimCode: time 2.1e-07/0.8269, allocations: 0 / 1.37 GB, free: 7.695 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.756/1.583, allocations: 1.599 MB / 1.372 GB, free: 6.211 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.85, allocations: 13.91 kB / 1.372 GB, free: 6.203 MB / 1.092 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches