Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001738/0.001738, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002072/0.002072, allocations: 158.2 kB / 23.01 MB, free: 4.598 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.918 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.924/2.924, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [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.002283/0.002283, allocations: 67.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.892/0.8943, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002046/0.8963, allocations: 1.304 MB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.8974, allocations: 0.7708 MB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.8975, allocations: 0 / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.8975, allocations: 0.7969 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.592e-05/0.8975, allocations: 5.859 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.898, allocations: 135.6 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.8981, allocations: 23.61 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.8981, allocations: 2.344 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.8981, allocations: 11.84 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.8982, allocations: 11.58 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.8982, allocations: 1.125 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.8985, allocations: 159.7 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.8985, allocations: 2.797 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.8986, allocations: 17.94 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.8988, allocations: 119.1 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8988, allocations: 0.6562 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8988, allocations: 1.562 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.8988, allocations: 0 / 1.189 GB, free: 14.61 MB / 1.076 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.0003567/0.8992, allocations: 288.6 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.8992, allocations: 8.812 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.8993, allocations: 8.125 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.252e-05/0.8993, allocations: 105.5 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.8994, allocations: 56.81 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.8994, allocations: 1.5 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.8995, allocations: 74.47 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.8995, allocations: 3.938 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.8996, allocations: 1.375 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.8996, allocations: 0 / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.8997, allocations: 23.16 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.8998, allocations: 107.7 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.8999, allocations: 45.38 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.9, allocations: 16.95 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.9002, allocations: 37.22 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.9002, allocations: 31.62 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9002, allocations: 0 / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002363/0.9005, allocations: 72.31 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.616e-05/0.9005, allocations: 53.44 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.254e-05/0.9005, allocations: 99.48 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.9005, allocations: 31.08 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.002e-05/0.9005, allocations: 84.08 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.9006, allocations: 14.47 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.9006, allocations: 19.41 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.9006, allocations: 313.4 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/0.9007, allocations: 10.95 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.9007, allocations: 8.484 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.251e-05/0.9008, allocations: 29.22 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9008, allocations: 1.094 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.901, allocations: 61.22 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.901, allocations: 9.844 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.901, allocations: 0 / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.901, allocations: 4.844 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.374e-05/0.901, allocations: 7.75 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.9011, allocations: 2.016 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.9011, allocations: 5.734 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.9011, allocations: 1.125 kB / 1.191 GB, free: 13.07 MB / 1.076 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.192e-05/0.9011, allocations: 113 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.9011, allocations: 1.844 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.9013, allocations: 76.3 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9013, allocations: 0 / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9013, allocations: 1.812 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9013, allocations: 0 / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.384e-05/0.9014, allocations: 105.4 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9014, allocations: 4 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.9014, allocations: 7.891 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9014, allocations: 0 / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.9014, allocations: 1.844 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.9014, allocations: 3.938 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9014, allocations: 5 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.9016, allocations: 92.39 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.9016, allocations: 8.672 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.9016, allocations: 0.6562 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.9017, allocations: 7.281 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.9017, allocations: 3.672 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.9017, allocations: 1.672 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.021e-05/0.9017, allocations: 79.95 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9017, allocations: 0 / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002513/0.902, allocations: 37.69 kB / 1.191 GB, free: 12.58 MB / 1.076 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.0002044/0.9022, allocations: 142.7 kB / 1.191 GB, free: 12.47 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.9024, allocations: 29.58 kB / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9024, allocations: 0 / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.455e-05/0.9024, allocations: 20.03 kB / 1.191 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.9027, allocations: 8.359 kB / 1.191 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.9029, allocations: 128.8 kB / 1.191 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.9029, allocations: 64.17 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.903, allocations: 7.25 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.903, allocations: 11.16 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.903, allocations: 0 / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of Templates: time 0.003985/0.907, allocations: 1.115 MB / 1.193 GB, free: 12.11 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.66907391208224]