Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.000918/0.000918, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009476/0.0009476, allocations: 161 kB / 23.82 MB, free: 0.75 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.9211/0.9211, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.68/1.68, allocations: 359 MB / 0.6052 GB, free: 11 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_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.993e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00225/0.00228, allocations: 1.323 MB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.003894, allocations: 0.8961 MB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.00394, allocations: 0 / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.003973, allocations: 0.5938 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.004046, allocations: 4.719 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.005047, allocations: 205.6 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.00515, allocations: 19.88 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.061e-05/0.00521, allocations: 7.984 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.005297, allocations: 7.984 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.005627, allocations: 12.98 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.005641, allocations: 0 / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.006039, allocations: 234.7 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.006054, allocations: 8.641 kB / 0.7898 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.006076, allocations: 4 kB / 0.7898 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.006382, allocations: 202.1 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006385, allocations: 0 / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.52e-07/0.006386, allocations: 0 / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.00639, allocations: 0 / 0.7899 GB, free: 9.582 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.0004377/0.006828, allocations: 384 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.006867, allocations: 12.03 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.007128, allocations: 30.67 kB / 0.7904 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.569e-05/0.007204, allocations: 104.6 kB / 0.7905 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.007216, allocations: 4.375 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.007227, allocations: 0.9062 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.007349, allocations: 67.95 kB / 0.7905 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.007361, allocations: 12.64 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.007373, allocations: 0.5312 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.007382, allocations: 0 / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.007426, allocations: 17.56 kB / 0.7906 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.007572, allocations: 116.6 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.00822, allocations: 141.3 kB / 0.7908 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.008256, allocations: 19.67 kB / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-05/0.008339, allocations: 15.98 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.008368, allocations: 34.95 kB / 0.7909 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.008369, allocations: 4 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001712/0.00854, allocations: 61.56 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.008572, allocations: 55.39 kB / 0.791 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.008646, allocations: 158.9 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.008659, allocations: 25.7 kB / 0.7912 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.008691, allocations: 129 kB / 0.7913 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.008719, allocations: 11.84 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.008757, allocations: 23.38 kB / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.008881, allocations: 0.4884 MB / 0.7918 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.008902, allocations: 4 kB / 0.7918 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.00892, allocations: 8 kB / 0.7918 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.05e-05/0.008971, allocations: 33.86 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.008973, allocations: 0 / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.675e-05/0.00906, allocations: 49.69 kB / 0.7919 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.009075, allocations: 8 kB / 0.7919 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.00908, allocations: 0 / 0.7919 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.009095, allocations: 3.938 kB / 0.7919 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.405e-05/0.009139, allocations: 4.5 kB / 0.7919 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.009145, allocations: 4.516 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.009166, allocations: 5.906 kB / 0.7919 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.009172, allocations: 0 / 0.7919 GB, free: 7.383 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 7.538e-05/0.009248, allocations: 156.6 kB / 0.7921 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.009261, allocations: 11.89 kB / 0.7921 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.009441, allocations: 83.69 kB / 0.7921 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.009445, allocations: 3.938 kB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.009448, allocations: 0 / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009451, allocations: 1.031 kB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.652e-05/0.009538, allocations: 116.6 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009539, allocations: 0 / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.009575, allocations: 8.656 kB / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.009577, allocations: 3.938 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.009586, allocations: 5 kB / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.009587, allocations: 0 / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.009591, allocations: 4.781 kB / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.009807, allocations: 96.44 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.009847, allocations: 7.984 kB / 0.7924 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.00986, allocations: 4.781 kB / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.009921, allocations: 4 kB / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.009943, allocations: 11.27 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.009949, allocations: 0 / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.009986, allocations: 123.2 kB / 0.7925 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009986, allocations: 0 / 0.7925 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000197/0.01018, allocations: 47.88 kB / 0.7926 GB, free: 6.637 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 (5): * Single equations (assignments): 5 * 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.0002301/0.01041, allocations: 175.1 kB / 0.7927 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.01052, allocations: 37.53 kB / 0.7928 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01052, allocations: 0 / 0.7928 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/0.01053, allocations: 19.69 kB / 0.7928 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.0107, allocations: 13.02 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.01129, allocations: 139.2 kB / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.01132, allocations: 59.34 kB / 0.793 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.465e-05/0.01138, allocations: 16.34 kB / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.01141, allocations: 12.5 kB / 0.793 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.01141, allocations: 0 / 0.793 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of Templates: time 0.003127/0.01453, allocations: 1.39 MB / 0.7944 GB, free: 4.754 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.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.706209382973611]