Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001341/0.001341, allocations: 99.75 kB / 18.94 MB, free: 2.832 MB / 14.72 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.002185/0.002185, allocations: 218.9 kB / 22.25 MB, free: 5.102 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.249/3.249, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.pW_X,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.47 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002509/0.374, allocations: 1.292 MB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006166/0.3747, allocations: 279.5 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.3747, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.3747, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.3747, allocations: 11.92 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.3751, allocations: 47.75 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.3751, allocations: 15.94 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.3752, allocations: 3.984 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.3752, allocations: 7.984 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.3753, allocations: 7.938 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3753, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3754, allocations: 55.95 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.3754, allocations: 8 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.3754, allocations: 15.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3756, allocations: 48.11 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3756, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3756, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3756, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 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.000382/0.376, allocations: 262.2 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.376, allocations: 12.03 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.376, allocations: 30.75 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.3763, allocations: 20.91 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.063e-05/0.3764, allocations: 110.5 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3764, allocations: 4.312 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.3764, allocations: 4.375 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3765, allocations: 71.83 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3765, allocations: 7.938 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.3765, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3765, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.3766, allocations: 15.98 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.3767, allocations: 124.8 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.3789, allocations: 270.4 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.379, allocations: 20.84 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.379, allocations: 0 / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.379, allocations: 34.55 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.379, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.3792, allocations: 69.62 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.3792, allocations: 51.41 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.3793, allocations: 93.86 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3793, allocations: 29.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.3793, allocations: 84.08 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.3794, allocations: 11.89 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.3794, allocations: 17.72 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3795, allocations: 314.8 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.3796, allocations: 8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.3796, allocations: 7.984 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.3796, allocations: 32.98 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3796, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.431e-05/0.3797, allocations: 53.69 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3797, allocations: 7.938 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3797, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3797, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.3798, allocations: 11.94 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3798, allocations: 0 / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.3798, allocations: 3.953 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.3799, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 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 8.673e-05/0.3799, allocations: 124 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.38, allocations: 3.938 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.38, allocations: 7.531 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.38, allocations: 7.938 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.38, allocations: 4 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.38, allocations: 0 / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.3801, allocations: 124.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3801, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.3802, allocations: 11.98 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3802, allocations: 7.938 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3802, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3802, allocations: 7.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3802, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.3803, allocations: 77.06 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.3803, allocations: 4 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3804, allocations: 3.938 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.3804, allocations: 7.984 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.3804, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3804, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.3805, allocations: 75.28 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3805, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001829/0.3807, allocations: 12.09 kB / 1.33 GB, free: 13.18 MB / 1.029 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.0004184/0.3811, allocations: 0.6205 MB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.3812, allocations: 28.03 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3812, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.3812, allocations: 15.98 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3815, allocations: 4 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.382, allocations: 152.6 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.878e-05/0.382, allocations: 63.34 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.3821, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.3821, allocations: 15.44 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3821, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.4095, allocations: 1.886 MB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.32, allocations: 10.38 kB / 1.332 GB, free: 10.44 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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: 18.266183258005185]