Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009489/0.0009489, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009681/0.0009681, allocations: 181 kB / 24.09 MB, free: 416 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.024/1.024, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.743/1.743, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.909e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001525/0.001545, allocations: 1.319 MB / 0.7888 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004258/0.00197, allocations: 288.7 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.001996, allocations: 1.562 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.002013, allocations: 0 / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.002058, allocations: 4 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.002296, allocations: 57.27 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.518e-05/0.002351, allocations: 19.86 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.092e-05/0.002382, allocations: 4 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.002442, allocations: 5.344 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.00249, allocations: 11.98 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.002504, allocations: 0 / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.002595, allocations: 51.89 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.002608, allocations: 9.922 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.002621, allocations: 4 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.00273, allocations: 55.88 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002732, allocations: 0 / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002733, allocations: 0 / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.002737, allocations: 2.219 kB / 0.7893 GB, free: 10.37 MB / 0.7448 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.0003003/0.003037, allocations: 360.2 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.003076, allocations: 16.02 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.003221, allocations: 25.16 kB / 0.7897 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.07e-05/0.003282, allocations: 109.1 kB / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.003291, allocations: 384 / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-06/0.003298, allocations: 5.031 kB / 0.7898 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.909e-05/0.003377, allocations: 65.17 kB / 0.7899 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.003384, allocations: 8.172 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.003389, allocations: 384 / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.003393, allocations: 384 / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.003423, allocations: 17.08 kB / 0.7899 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.998e-05/0.003523, allocations: 97.27 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.004302, allocations: 281.4 kB / 0.7903 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.004322, allocations: 22.11 kB / 0.7903 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.004329, allocations: 0 / 0.7903 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.00435, allocations: 37.39 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.004351, allocations: 0 / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001082/0.004459, allocations: 53.69 kB / 0.7904 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.004482, allocations: 55.34 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.28e-05/0.004535, allocations: 150.7 kB / 0.7906 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.004545, allocations: 26.23 kB / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.004573, allocations: 126.9 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.004602, allocations: 25.48 kB / 0.7908 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.004631, allocations: 23.36 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.004744, allocations: 496.1 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.004756, allocations: 4 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.004767, allocations: 8.891 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.004793, allocations: 23.69 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004794, allocations: 0 / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.958e-05/0.004844, allocations: 54.47 kB / 0.7913 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.004855, allocations: 4 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.004859, allocations: 1.281 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.004869, allocations: 0 / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.121e-05/0.0049, allocations: 8 kB / 0.7913 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.004902, allocations: 0.7812 kB / 0.7913 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.004918, allocations: 4 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.004922, allocations: 4.812 kB / 0.7914 GB, free: 8.113 MB / 0.7448 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 6.135e-05/0.004983, allocations: 160.6 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.00499, allocations: 5.516 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.005012, allocations: 7.531 kB / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005014, allocations: 4 kB / 0.7915 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.005015, allocations: 336 / 0.7915 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005018, allocations: 1.125 kB / 0.7915 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.924e-05/0.005077, allocations: 101.2 kB / 0.7916 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005078, allocations: 0 / 0.7916 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.005094, allocations: 7.219 kB / 0.7916 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.005097, allocations: 11.91 kB / 0.7916 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-06/0.005101, allocations: 0 / 0.7916 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.005101, allocations: 4 kB / 0.7916 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005102, allocations: 0 / 0.7916 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.171e-05/0.005163, allocations: 92.3 kB / 0.7917 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.005186, allocations: 4 kB / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.005193, allocations: 0 / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.238e-05/0.005215, allocations: 4 kB / 0.7917 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.005227, allocations: 8.484 kB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.005231, allocations: 1.094 kB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.005259, allocations: 119.2 kB / 0.7919 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005259, allocations: 0 / 0.7919 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000109/0.005368, allocations: 8.531 kB / 0.7919 GB, free: 7.527 MB / 0.7448 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 6.569e-05/0.005434, allocations: 96.91 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.964e-05/0.005494, allocations: 31.61 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.005495, allocations: 0 / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.005507, allocations: 16.22 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.005633, allocations: 21.25 kB / 0.792 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.005997, allocations: 131.9 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.857e-05/0.006026, allocations: 66.09 kB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.006056, allocations: 2.375 kB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.006116, allocations: 82.19 kB / 0.7923 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.006117, allocations: 0 / 0.7923 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.001766/0.007883, allocations: 0.6576 MB / 0.7929 GB, free: 6.391 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.827671479433775]