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.0008488/0.0008488, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.000937/0.000937, allocations: 173 kB / 23.03 MB, free: 1.543 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.9326/0.9326, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.043/2.043, allocations: 429.5 MB / 0.6733 GB, free: 4.027 MB / 0.6355 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 1.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.878e-05, allocations: 6.406 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001908/0.001937, allocations: 1.322 MB / 0.8795 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004432/0.00238, allocations: 300.1 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.002402, allocations: 0 / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.002423, allocations: 0 / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.002469, allocations: 3.953 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.002753, allocations: 58.06 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.002812, allocations: 19.88 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.002848, allocations: 5.016 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.0029, allocations: 4 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.002945, allocations: 7.984 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.002961, allocations: 5.125 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.003058, allocations: 55.88 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.003069, allocations: 0 / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.003087, allocations: 9.094 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.003203, allocations: 51.81 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.003206, allocations: 4 kB / 0.88 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003206, allocations: 5.031 kB / 0.88 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.00321, allocations: 0 / 0.88 GB, free: 4.492 MB / 0.8386 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.0003148/0.003525, allocations: 361.2 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.003562, allocations: 8.031 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.003752, allocations: 30.38 kB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.91e-05/0.003821, allocations: 112.6 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.003831, allocations: 384 / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.003839, allocations: 0.9062 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/0.003938, allocations: 73.38 kB / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.003944, allocations: 192 / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.003954, allocations: 384 / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.00396, allocations: 4.375 kB / 0.8805 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.003993, allocations: 16.52 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.004107, allocations: 112.6 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.004984, allocations: 282.2 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.005015, allocations: 23.67 kB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.005023, allocations: 1.094 kB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.005048, allocations: 37.39 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.005049, allocations: 1.156 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001371/0.005186, allocations: 57.64 kB / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.005215, allocations: 55.34 kB / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.005277, allocations: 165.9 kB / 0.8813 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.005287, allocations: 25.7 kB / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.005315, allocations: 126.9 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.005342, allocations: 19.83 kB / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.005369, allocations: 19.38 kB / 0.8814 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.005477, allocations: 496.1 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.005492, allocations: 4 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.512e-05/0.005507, allocations: 15.92 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.005548, allocations: 23.69 kB / 0.882 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005551, allocations: 0 / 0.882 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.669e-05/0.005617, allocations: 61.75 kB / 0.882 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.005631, allocations: 10.81 kB / 0.882 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005636, allocations: 0 / 0.882 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.005647, allocations: 0 / 0.882 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.96e-05/0.005687, allocations: 8 kB / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.005692, allocations: 0 / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.005708, allocations: 3.938 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.005713, allocations: 4 kB / 0.882 GB, free: 2.18 MB / 0.8386 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.075e-05/0.005773, allocations: 160.6 kB / 0.8822 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.00578, allocations: 336 / 0.8822 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.005802, allocations: 7.531 kB / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.005805, allocations: 8 kB / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.005809, allocations: 3.984 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.005812, allocations: 3.938 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.388e-05/0.005876, allocations: 112.6 kB / 0.8823 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.005878, allocations: 0 / 0.8823 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.005899, allocations: 7.984 kB / 0.8823 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.0059, allocations: 0 / 0.8823 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.005908, allocations: 4 kB / 0.8823 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005909, allocations: 0 / 0.8823 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.00591, allocations: 0 / 0.8823 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.818e-05/0.005988, allocations: 100.3 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.00602, allocations: 4 kB / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.00603, allocations: 0 / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.551e-05/0.006055, allocations: 4 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.006071, allocations: 3.984 kB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.006076, allocations: 0 / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.006106, allocations: 127.2 kB / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.006106, allocations: 0 / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001165/0.006223, allocations: 7.938 kB / 0.8826 GB, free: 1.562 MB / 0.8386 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.55e-05/0.006298, allocations: 95.34 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.272e-05/0.006381, allocations: 43.55 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006382, allocations: 0 / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.006398, allocations: 19.67 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.006549, allocations: 12 kB / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.006994, allocations: 126.5 kB / 0.8829 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.209e-05/0.007026, allocations: 67.28 kB / 0.8829 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.007056, allocations: 0 / 0.8829 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.007081, allocations: 12.5 kB / 0.8829 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.007081, allocations: 0 / 0.8829 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of Templates: time 0.002083/0.009165, allocations: 0.6334 MB / 0.8835 GB, free: 0.5195 MB / 0.8386 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.0937853320501745]