Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 68.47 kB / 19.16 MB, free: 0.7266 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 169.9 kB / 22.46 MB, free: 2.082 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9399/0.9399, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.741/1.741, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.981 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.782e-05, allocations: 2.281 kB / 0.981 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001562/0.00158, allocations: 1.294 MB / 0.9822 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009147/0.002495, allocations: 0.7631 MB / 0.983 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.002518, allocations: 4 kB / 0.983 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.002538, allocations: 3.938 kB / 0.983 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.00258, allocations: 7.938 kB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.003027, allocations: 143.1 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.28e-05/0.0031, allocations: 23.92 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.003136, allocations: 0 / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.003196, allocations: 23.91 kB / 0.9832 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.003252, allocations: 8 kB / 0.9832 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.003266, allocations: 4 kB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.003486, allocations: 159.7 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.003503, allocations: 7.922 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.003522, allocations: 8 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.003742, allocations: 131.6 kB / 0.9835 GB, free: 28 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003744, allocations: 3.938 kB / 0.9835 GB, free: 24 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003745, allocations: 0 / 0.9835 GB, free: 24 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.00375, allocations: 4 kB / 0.9835 GB, free: 20 kB / 0.9323 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.0003534/0.004103, allocations: 288.7 kB / 0.9838 GB, free: 15.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.004141, allocations: 8.031 kB / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.00417, allocations: 34.75 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.0042, allocations: 8.891 kB / 0.9838 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.984e-05/0.004269, allocations: 101.8 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.004338, allocations: 63.97 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.004349, allocations: 4.375 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.004464, allocations: 79.86 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.00447, allocations: 192 / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.004478, allocations: 384 / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004484, allocations: 3.938 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.923e-05/0.004543, allocations: 23.98 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.004663, allocations: 120.8 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.004831, allocations: 50.53 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.004863, allocations: 12.86 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.005014, allocations: 28 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.005032, allocations: 34.56 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005033, allocations: 0 / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001662/0.005199, allocations: 73.61 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.005224, allocations: 51.41 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.492e-05/0.005269, allocations: 101.8 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.005279, allocations: 25.7 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.005299, allocations: 80.14 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.005322, allocations: 19.84 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.005349, allocations: 21.66 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.005418, allocations: 314.8 kB / 0.985 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.005443, allocations: 7.984 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.005467, allocations: 23.92 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/0.005516, allocations: 20.86 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005518, allocations: 0 / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001855/0.005703, allocations: 65.62 kB / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.005714, allocations: 4 kB / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005718, allocations: 0 / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.005729, allocations: 3.938 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.13e-05/0.005761, allocations: 8 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005766, allocations: 0 / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.005782, allocations: 7.984 kB / 0.9851 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.005786, allocations: 7.938 kB / 0.9851 GB, free: 14.14 MB / 0.948 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 4.729e-05/0.005834, allocations: 105.8 kB / 0.9852 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.005839, allocations: 4 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.005945, allocations: 65.88 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.005946, allocations: 3.938 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.00595, allocations: 4 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.005953, allocations: 4.031 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.682e-05/0.00602, allocations: 128.7 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.006021, allocations: 4 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.00604, allocations: 8 kB / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006041, allocations: 0 / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.006047, allocations: 0 / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006048, allocations: 3.938 kB / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.00605, allocations: 7.969 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.24e-05/0.006133, allocations: 85.02 kB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.006164, allocations: 7.984 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.006173, allocations: 4 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.392e-05/0.006197, allocations: 7.938 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.006228, allocations: 15.92 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.006231, allocations: 4 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.16e-05/0.006253, allocations: 75.28 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006253, allocations: 0 / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001628/0.006416, allocations: 35.81 kB / 0.9857 GB, free: 13.5 MB / 0.948 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.0003369/0.006753, allocations: 0.663 MB / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.006845, allocations: 23.98 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006846, allocations: 4 kB / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.006873, allocations: 15.92 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.007025, allocations: 11.94 kB / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.007327, allocations: 158.4 kB / 0.9865 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.007361, allocations: 63.34 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.007387, allocations: 8 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.007415, allocations: 16.5 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/0.007415, allocations: 0 / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.02174, allocations: 2.665 MB / 0.9892 GB, free: 9.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.061, allocations: 6.859 kB / 0.9892 GB, free: 9.93 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.13793620839715]