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.001057/0.001057, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001168/0.001168, allocations: 169.7 kB / 23.28 MB, free: 1.215 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.9656/0.9656, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.432/2.432, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.124e-06/2.124e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.592e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001516/0.001532, allocations: 1.317 MB / 0.891 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004097/0.001942, allocations: 299 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.001966, allocations: 0 / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.001985, allocations: 7.922 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.002024, allocations: 7.938 kB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.002243, allocations: 51.72 kB / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.777e-05/0.002291, allocations: 15.94 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.08e-05/0.002321, allocations: 4 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.494e-05/0.002376, allocations: 11.92 kB / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.00242, allocations: 4 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.002432, allocations: 0 / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.002521, allocations: 55.88 kB / 0.8915 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.002533, allocations: 15.98 kB / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.171e-05/0.002545, allocations: 4 kB / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.002645, allocations: 55.81 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002648, allocations: 0 / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002648, allocations: 0 / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.002651, allocations: 0 / 0.8915 GB, free: 7.922 MB / 0.8542 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.0002678/0.002919, allocations: 360.2 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.002954, allocations: 12.62 kB / 0.8919 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.00309, allocations: 24.86 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.864e-05/0.003149, allocations: 112.6 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.003158, allocations: 4.375 kB / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-06/0.003164, allocations: 384 / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.48e-05/0.003238, allocations: 63.95 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003244, allocations: 192 / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.003251, allocations: 4.375 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.003255, allocations: 384 / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.003279, allocations: 15.88 kB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.041e-05/0.003369, allocations: 105.2 kB / 0.8922 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.004136, allocations: 270.9 kB / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.004157, allocations: 19.69 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.004164, allocations: 4 kB / 0.8925 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.004182, allocations: 33.39 kB / 0.8925 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.004183, allocations: 0 / 0.8925 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 9.675e-05/0.00428, allocations: 57.62 kB / 0.8926 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.004302, allocations: 59.39 kB / 0.8926 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.004356, allocations: 149.9 kB / 0.8928 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.004367, allocations: 29.7 kB / 0.8928 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.004396, allocations: 126.9 kB / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.00442, allocations: 11.84 kB / 0.8929 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.004445, allocations: 27.36 kB / 0.893 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.004559, allocations: 0.4883 MB / 0.8934 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.004568, allocations: 4 kB / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.004578, allocations: 12 kB / 0.8935 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.004604, allocations: 19.69 kB / 0.8935 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004605, allocations: 4.125 kB / 0.8935 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.128e-05/0.004656, allocations: 49.91 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.004667, allocations: 4 kB / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.004671, allocations: 0 / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.00468, allocations: 8.031 kB / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.967e-05/0.00471, allocations: 11.92 kB / 0.8936 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.004712, allocations: 0 / 0.8936 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.004727, allocations: 4 kB / 0.8936 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.004732, allocations: 7.938 kB / 0.8936 GB, free: 5.645 MB / 0.8542 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.704e-05/0.004789, allocations: 152.6 kB / 0.8937 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.004796, allocations: 8 kB / 0.8937 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.004815, allocations: 7.531 kB / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.004816, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.004817, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.00482, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.87e-05/0.004888, allocations: 109.2 kB / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004889, allocations: 3.938 kB / 0.8938 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.004906, allocations: 8 kB / 0.8938 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.004907, allocations: 0 / 0.8938 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.004911, allocations: 0 / 0.8938 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.004911, allocations: 0 / 0.8938 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004912, allocations: 4 kB / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.691e-05/0.004978, allocations: 92.33 kB / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.005001, allocations: 0 / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-06/0.005008, allocations: 3.984 kB / 0.8939 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.00503, allocations: 4 kB / 0.8939 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.005041, allocations: 0 / 0.8939 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.005045, allocations: 4 kB / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.727e-05/0.005073, allocations: 119.2 kB / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.005073, allocations: 0 / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000111/0.005184, allocations: 11.94 kB / 0.8941 GB, free: 5.062 MB / 0.8542 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.704e-05/0.005251, allocations: 99.34 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.636e-05/0.005307, allocations: 27.67 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005309, allocations: 0 / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.005321, allocations: 19.67 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.005454, allocations: 25.81 kB / 0.8942 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.00579, allocations: 134.4 kB / 0.8944 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.005818, allocations: 55.36 kB / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.005846, allocations: 3.938 kB / 0.8944 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.005903, allocations: 86.19 kB / 0.8945 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.005904, allocations: 0 / 0.8945 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of Templates: time 0.001785/0.007688, allocations: 0.6573 MB / 0.8951 GB, free: 3.906 MB / 0.8542 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.332541466224939]