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.001472/0.001472, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001793/0.001793, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 1.108/1.108, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.92/1.92, allocations: 377.9 MB / 0.624 GB, free: 8.312 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.76 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.663e-05, allocations: 5.406 kB / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002925/0.002951, allocations: 1.374 MB / 0.7614 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006782/0.00363, allocations: 299.2 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.00366, allocations: 0 / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.003681, allocations: 1.469 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.003737, allocations: 6.062 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.004044, allocations: 48.41 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.004125, allocations: 22.55 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.004171, allocations: 5.25 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.004241, allocations: 8.859 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.004293, allocations: 8.641 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.004306, allocations: 1.156 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.004461, allocations: 55.89 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.004476, allocations: 0.7656 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.004495, allocations: 13.78 kB / 0.7618 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.004631, allocations: 44.88 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004635, allocations: 7.984 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/0.004636, allocations: 4.969 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.00464, allocations: 0 / 0.7619 GB, free: 4.727 MB / 0.7136 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.0003109/0.004951, allocations: 236.6 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.00499, allocations: 8.562 kB / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.005206, allocations: 26.42 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.005292, allocations: 106.1 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.005304, allocations: 384 / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.005313, allocations: 13.53 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.005414, allocations: 63.95 kB / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.005422, allocations: 192 / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.00543, allocations: 1.875 kB / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.005436, allocations: 384 / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.005466, allocations: 11.94 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.005586, allocations: 65 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009697/0.006556, allocations: 261.5 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.006818, allocations: 20.78 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.006827, allocations: 2.281 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.006853, allocations: 38.56 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.915e-06/0.006856, allocations: 0 / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001136/0.006969, allocations: 49.67 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.006994, allocations: 51.41 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.007045, allocations: 99.75 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.007059, allocations: 29.7 kB / 0.7629 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.007081, allocations: 81.08 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.00711, allocations: 11.84 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.007141, allocations: 21.7 kB / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.007226, allocations: 319.5 kB / 0.7633 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.007234, allocations: 7.938 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.007244, allocations: 6.75 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.856e-05/0.007273, allocations: 20.84 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.007275, allocations: 0 / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.996e-05/0.007325, allocations: 41.69 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.007341, allocations: 8 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007345, allocations: 3.938 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.007357, allocations: 0 / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.007404, allocations: 10.91 kB / 0.7634 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.007408, allocations: 4 kB / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.007429, allocations: 0 / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.007433, allocations: 0 / 0.7634 GB, free: 2.996 MB / 0.7136 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 0.0001197/0.007552, allocations: 113.8 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.00756, allocations: 4 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.007584, allocations: 11.52 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007586, allocations: 0 / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.007588, allocations: 1.812 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007591, allocations: 4 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.552e-05/0.007657, allocations: 69.84 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.007658, allocations: 0 / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.007678, allocations: 8 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.007679, allocations: 0.875 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.007684, allocations: 0 / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.007684, allocations: 0.6562 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.007686, allocations: 3.984 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.592e-05/0.007752, allocations: 81.64 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.007779, allocations: 0.625 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.007787, allocations: 4 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.007813, allocations: 0.6875 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.007825, allocations: 0 / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.007832, allocations: 8.516 kB / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.845e-06/0.00784, allocations: 5.484 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00784, allocations: 0.5938 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000101/0.007941, allocations: 8 kB / 0.7638 GB, free: 2.633 MB / 0.7136 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 9.244e-05/0.008033, allocations: 77.92 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.642e-05/0.00809, allocations: 21.23 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.008092, allocations: 1.031 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.008104, allocations: 20.78 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.008217, allocations: 16.64 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.00861, allocations: 127.7 kB / 0.764 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.829e-05/0.008638, allocations: 51.36 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.008676, allocations: 18.2 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.008736, allocations: 65.8 kB / 0.7641 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.008736, allocations: 0 / 0.7641 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of Templates: time 0.002048/0.01078, allocations: 0.6718 MB / 0.7648 GB, free: 1.551 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] 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","",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.007923866156489]