Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000939/0.000939, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00106/0.00106, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9331/0.9331, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.358/2.358, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.25e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001944/0.001967, allocations: 1.321 MB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.004657, allocations: 291 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.004677, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.004692, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.004736, allocations: 11.98 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.004972, allocations: 51.69 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.005028, allocations: 23.84 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.008e-05/0.005058, allocations: 4 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.005113, allocations: 7.984 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.005155, allocations: 8 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.005166, allocations: 0 / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-05/0.005264, allocations: 51.89 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.005276, allocations: 3.984 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.005289, allocations: 8 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.005399, allocations: 55.83 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005401, allocations: 0 / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005402, allocations: 0 / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.274e-06/0.005404, allocations: 0 / 0.8404 GB, free: 12.38 MB / 0.8073 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.0002439/0.005648, allocations: 240.5 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.005682, allocations: 12.62 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.005842, allocations: 20.86 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.371e-05/0.005906, allocations: 109.7 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.005916, allocations: 8.359 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.005926, allocations: 384 / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.048e-05/0.006006, allocations: 67.95 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.006012, allocations: 192 / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.006019, allocations: 384 / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006023, allocations: 384 / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.006051, allocations: 11.94 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.225e-05/0.006143, allocations: 57.05 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009409/0.007084, allocations: 274.3 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.007105, allocations: 16.84 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.007113, allocations: 4 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.007134, allocations: 30.56 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.007135, allocations: 0 / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 9.794e-05/0.007233, allocations: 45.69 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.00726, allocations: 59.34 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.007309, allocations: 102.7 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.007322, allocations: 29.7 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.132e-05/0.007344, allocations: 80.14 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.007368, allocations: 19.78 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.007397, allocations: 13.7 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.007475, allocations: 322.8 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.007485, allocations: 4 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.007497, allocations: 8 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.007764, allocations: 20.84 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.007767, allocations: 8.125 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.768e-05/0.007824, allocations: 41.64 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.007836, allocations: 7.984 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.00784, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.00785, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.72e-05/0.007887, allocations: 8 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.007889, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.007907, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.007911, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 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 5.621e-05/0.007967, allocations: 113.8 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-06/0.007974, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.007994, allocations: 15.52 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007997, allocations: 4 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.007999, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.008001, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.353e-05/0.008064, allocations: 77.78 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.008065, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.00809, allocations: 8 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.008091, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.008094, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.008096, allocations: 3.984 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008097, allocations: 0 / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.283e-05/0.00816, allocations: 81.31 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.008184, allocations: 4 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.008191, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.484e-05/0.008216, allocations: 4 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.008229, allocations: 4.031 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.008234, allocations: 4 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.646e-06/0.008242, allocations: 8.844 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008242, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001462/0.008389, allocations: 11.94 kB / 0.8422 GB, free: 10.23 MB / 0.8073 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 7.728e-05/0.008466, allocations: 76.52 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.452e-05/0.00852, allocations: 24.8 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008523, allocations: 0 / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.008538, allocations: 20.84 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.763e-05/0.008636, allocations: 15.92 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.008993, allocations: 132.6 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.009022, allocations: 59.28 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.009056, allocations: 4 kB / 0.8426 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.009119, allocations: 59.36 kB / 0.8426 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.009119, allocations: 4 kB / 0.8426 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of Templates: time 0.004156/0.01328, allocations: 0.6535 MB / 0.8433 GB, free: 9.145 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.036682639271021]