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.001425/0.001425, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001704/0.001704, allocations: 169 kB / 24.28 MB, free: 272 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 0.9486/0.9486, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.913/1.913, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.623e-06/1.623e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.678e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00179/0.001817, allocations: 1.314 MB / 0.8128 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004522/0.002269, allocations: 296 kB / 0.8131 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.002294, allocations: 0.7812 kB / 0.8131 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.002317, allocations: 0 / 0.8131 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.002361, allocations: 5.625 kB / 0.8131 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.002632, allocations: 55.69 kB / 0.8132 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.146e-05/0.002693, allocations: 17.45 kB / 0.8132 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.002733, allocations: 0 / 0.8132 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.002792, allocations: 15.92 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.002836, allocations: 4 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.002851, allocations: 5.75 kB / 0.8132 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.002945, allocations: 55.88 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.002958, allocations: 3.984 kB / 0.8133 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.002977, allocations: 4 kB / 0.8133 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.0031, allocations: 53.06 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003103, allocations: 4 kB / 0.8133 GB, free: 272 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003103, allocations: 0 / 0.8133 GB, free: 272 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.003108, allocations: 3.938 kB / 0.8133 GB, free: 268 kB / 0.7605 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.0004019/0.00351, allocations: 362.8 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.00355, allocations: 8.031 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.003749, allocations: 29.14 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.228e-05/0.003821, allocations: 108.6 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.003834, allocations: 8.312 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.003845, allocations: 9.078 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.00395, allocations: 59.95 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.003956, allocations: 0.7188 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.003968, allocations: 6.031 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.003975, allocations: 384 / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.004012, allocations: 19.92 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.004133, allocations: 112.6 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009109/0.005044, allocations: 281.5 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.005074, allocations: 20.52 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.005083, allocations: 0 / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.005184, allocations: 39.45 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005185, allocations: 0 / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000173/0.005358, allocations: 57.69 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.005392, allocations: 55.41 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.005467, allocations: 154.4 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.005481, allocations: 25.7 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.005512, allocations: 133.3 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.005546, allocations: 19.84 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.005577, allocations: 19.36 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.005696, allocations: 0.4884 MB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.005715, allocations: 4 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.00573, allocations: 4 kB / 0.8153 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.578e-05/0.005776, allocations: 31.67 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.005779, allocations: 1.75 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.159e-05/0.005851, allocations: 53.69 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.005867, allocations: 7.938 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.005872, allocations: 0 / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.005888, allocations: 0.5312 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.005936, allocations: 11.94 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.005942, allocations: 0.5625 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.005962, allocations: 5.656 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.005966, allocations: 0 / 0.8154 GB, free: 13.96 MB / 0.7761 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.753e-05/0.006044, allocations: 156.6 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.006057, allocations: 8.281 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.006091, allocations: 8.312 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.006096, allocations: 11.97 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.006103, allocations: 4.656 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.006107, allocations: 3.938 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.006208, allocations: 116.3 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.00621, allocations: 0 / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.006236, allocations: 4 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.006239, allocations: 0 / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.006248, allocations: 4 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006249, allocations: 0 / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006251, allocations: 0 / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.006373, allocations: 96.3 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.006427, allocations: 4 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.006441, allocations: 4 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.006482, allocations: 1.812 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.006507, allocations: 3.984 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.006513, allocations: 0 / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.006558, allocations: 123.2 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006559, allocations: 1.031 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000132/0.00669, allocations: 7.938 kB / 0.8159 GB, free: 13.36 MB / 0.7761 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 0.0001268/0.006817, allocations: 100.4 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.007125, allocations: 31.61 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007127, allocations: 1.031 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.007147, allocations: 23.69 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.007361, allocations: 17.03 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.007912, allocations: 135.8 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.471e-05/0.007946, allocations: 52.61 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.075e-05/0.007987, allocations: 9.953 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.008017, allocations: 9.844 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of SimCode: time 8.51e-07/0.008018, allocations: 0 / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.002319/0.01034, allocations: 0.609 MB / 0.8169 GB, free: 12.34 MB / 0.7761 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 -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.1825306518003345]