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.0009468/0.0009468, allocations: 80.88 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.001031/0.001031, allocations: 181 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.9799/0.9799, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.583/2.583, allocations: 438.8 MB / 0.6826 GB, free: 13.61 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.533e-06/1.533e-06, allocations: 0.9844 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.391e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001929/0.001953, allocations: 1.368 MB / 0.84 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004682/0.002421, allocations: 303 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.002448, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.002466, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.002516, allocations: 7.938 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.002766, allocations: 39.75 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.002827, allocations: 19.86 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.002865, allocations: 4 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.002927, allocations: 15.97 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.002973, allocations: 8 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.002986, allocations: 0 / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.003106, allocations: 59.88 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.003119, allocations: 3.938 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.376e-05/0.003132, allocations: 4 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003256, allocations: 55.88 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003259, allocations: 0 / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.683e-06/0.003261, allocations: 0 / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.003265, allocations: 0 / 0.8405 GB, free: 12.3 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.0002522/0.003517, allocations: 236.6 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.003549, allocations: 12.62 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.003713, allocations: 28.84 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.717e-05/0.00378, allocations: 105.8 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.00379, allocations: 384 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-06/0.003796, allocations: 384 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.003883, allocations: 71.89 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.003891, allocations: 192 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.003897, allocations: 384 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.003902, allocations: 384 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.003925, allocations: 19.86 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.388e-05/0.004009, allocations: 61.05 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.004797, allocations: 258.4 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.004818, allocations: 16.84 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-06/0.004826, allocations: 4 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.00485, allocations: 38.5 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004851, allocations: 0 / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001115/0.004962, allocations: 53.81 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.004996, allocations: 51.41 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.005047, allocations: 102.7 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.005059, allocations: 25.7 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.005079, allocations: 80.14 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.005115, allocations: 19.83 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.005142, allocations: 13.72 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.005223, allocations: 322.8 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.005233, allocations: 8.125 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.005243, allocations: 7.938 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.005271, allocations: 16.84 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.005274, allocations: 4 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.202e-05/0.005326, allocations: 41.69 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.005339, allocations: 4 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.005343, allocations: 0 / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.005356, allocations: 0 / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.005398, allocations: 8 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.005402, allocations: 3.984 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.005418, allocations: 3.938 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.005422, allocations: 4 kB / 0.842 GB, free: 10.54 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.923e-05/0.005481, allocations: 121.8 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-06/0.005489, allocations: 4 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.005507, allocations: 7.531 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.00551, allocations: 4 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005511, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005514, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.44e-05/0.005568, allocations: 69.8 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005569, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.005588, allocations: 11.98 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005589, allocations: 7.938 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.005593, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005594, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005595, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.471e-05/0.005659, allocations: 76.98 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.005685, allocations: 8 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-06/0.005692, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.005715, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.005728, allocations: 7.984 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.005732, allocations: 0 / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.007e-06/0.005741, allocations: 8.859 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005741, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.446e-05/0.005835, allocations: 8 kB / 0.8423 GB, free: 10.16 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.812e-05/0.005913, allocations: 76.42 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.611e-05/0.005969, allocations: 24.84 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.005972, allocations: 0 / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.005985, allocations: 17.12 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.006097, allocations: 13.98 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.006461, allocations: 136.7 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.006489, allocations: 51.36 kB / 0.8426 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.006524, allocations: 12.08 kB / 0.8426 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.006578, allocations: 59.36 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.006579, allocations: 0 / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of Templates: time 0.002128/0.008707, allocations: 0.675 MB / 0.8434 GB, free: 9.062 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 -s gbode -gbm=radauIIA3 -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.415885484777391]