Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.001555/0.001555, 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.001845/0.001845, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.299/1.299, 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.478/2.478, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5794, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002439/0.5819, allocations: 1.331 MB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.5832, allocations: 0.8538 MB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.5832, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.5833, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.5833, allocations: 3.938 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.5838, allocations: 107.6 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.5838, allocations: 27.86 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.5839, allocations: 4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.5839, allocations: 15.92 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.584, allocations: 11.98 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.584, allocations: 0 / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.5843, allocations: 171.7 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.5843, allocations: 7.938 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.5844, allocations: 11.94 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.5846, allocations: 118 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5846, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5846, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.5846, allocations: 4 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004246/0.5851, allocations: 368.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.5851, allocations: 8.031 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.5852, allocations: 38.69 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.5852, allocations: 0.9375 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.5853, allocations: 168.3 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.5854, allocations: 30.27 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.5854, allocations: 4.375 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.5855, allocations: 54 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.5856, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.5856, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.5856, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.484e-05/0.5857, allocations: 15.98 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.5858, allocations: 161.6 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.586, allocations: 46.55 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.5861, allocations: 24.92 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.5864, allocations: 178.2 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.5864, allocations: 38.5 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.5865, allocations: 4 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002419/0.5867, allocations: 73.55 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.5867, allocations: 55.41 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.411e-05/0.5868, allocations: 93.84 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.5868, allocations: 29.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.5869, allocations: 80.14 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.5869, allocations: 11.81 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.5869, allocations: 13.72 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.587, allocations: 314.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.5871, allocations: 15.98 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.5872, allocations: 8 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.5873, allocations: 28.84 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5873, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001375/0.5874, allocations: 65.55 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5874, allocations: 7.938 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5874, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.5875, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.5875, allocations: 8 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5875, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.5876, allocations: 7.984 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.5876, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 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 (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.178e-05/0.5877, allocations: 106.4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.5877, allocations: 11.84 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.5879, allocations: 69.11 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5879, allocations: 8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5879, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5879, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.588, allocations: 157.7 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.588, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.5881, allocations: 11.98 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5881, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.5881, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5881, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5881, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.5883, allocations: 85.67 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.5883, allocations: 89.03 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.5883, allocations: 3.984 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.5884, allocations: 8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.5884, allocations: 7.922 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.5885, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.5885, allocations: 79.28 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5885, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002332/0.5887, allocations: 39.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 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 (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 Backend phase and start with SimCode phase: time 0.0005311/0.5893, allocations: 0.659 MB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.5894, allocations: 35.91 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5894, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.5895, allocations: 12 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.5897, allocations: 11.92 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.5901, allocations: 168.1 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.5904, allocations: 0.6809 MB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.536e-05/0.5904, allocations: 7.984 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.5905, allocations: 11.44 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.806e-06/0.5905, allocations: 0 / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.602, allocations: 1.777 MB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.6023, allocations: 214.1 kB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.307, allocations: 2.25 kB / 1.025 GB, free: 9.543 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches