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.0009854/0.0009854, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009882/0.0009882, allocations: 173 kB / 23.5 MB, free: 1.051 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.9282/0.9282, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.089/2.089, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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 2.174e-06/2.174e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.717e-05, allocations: 8.844 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001718/0.001745, allocations: 1.321 MB / 0.8795 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000429/0.002174, allocations: 298.7 kB / 0.8798 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.002195, allocations: 0 / 0.8798 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.002214, allocations: 3.938 kB / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.002257, allocations: 9.938 kB / 0.8798 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.002497, allocations: 45.41 kB / 0.8798 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.00255, allocations: 15.94 kB / 0.8798 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.002588, allocations: 12.47 kB / 0.8798 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.002641, allocations: 4 kB / 0.8798 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.002684, allocations: 13.23 kB / 0.8799 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.002698, allocations: 0 / 0.8799 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.002788, allocations: 55.89 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.002801, allocations: 4.875 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.002819, allocations: 11.92 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.002935, allocations: 47.89 kB / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002938, allocations: 1.344 kB / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.31e-07/0.002938, allocations: 0 / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002942, allocations: 0 / 0.88 GB, free: 4.84 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.0002844/0.003226, allocations: 366 kB / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.003262, allocations: 12.03 kB / 0.8803 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.003422, allocations: 24.84 kB / 0.8804 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.223e-05/0.003484, allocations: 108.6 kB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.003494, allocations: 8.312 kB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.003504, allocations: 4.375 kB / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.965e-05/0.003594, allocations: 63.95 kB / 0.8805 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.003599, allocations: 192 / 0.8805 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.003607, allocations: 384 / 0.8805 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.003613, allocations: 384 / 0.8805 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.003649, allocations: 27.84 kB / 0.8806 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.003759, allocations: 120.6 kB / 0.8807 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.004622, allocations: 270.9 kB / 0.8809 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.004654, allocations: 27.67 kB / 0.881 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.004661, allocations: 0 / 0.881 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.004682, allocations: 33.39 kB / 0.881 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.004683, allocations: 0 / 0.881 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001254/0.004808, allocations: 73.58 kB / 0.8811 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.004832, allocations: 51.41 kB / 0.8811 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.004896, allocations: 153.9 kB / 0.8813 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.004907, allocations: 29.7 kB / 0.8813 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.004934, allocations: 126.9 kB / 0.8814 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.004961, allocations: 19.83 kB / 0.8814 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.004989, allocations: 19.38 kB / 0.8814 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.005095, allocations: 496.1 kB / 0.8819 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.00511, allocations: 8 kB / 0.8819 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.005121, allocations: 7.984 kB / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.005157, allocations: 35.75 kB / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005159, allocations: 0 / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.447e-05/0.005213, allocations: 53.69 kB / 0.882 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.005226, allocations: 8 kB / 0.882 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.00523, allocations: 0 / 0.882 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.005241, allocations: 0 / 0.882 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.092e-05/0.005272, allocations: 4 kB / 0.882 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.005277, allocations: 0 / 0.882 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.005292, allocations: 7.938 kB / 0.882 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.005296, allocations: 0 / 0.882 GB, free: 2.512 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.081e-05/0.005357, allocations: 160.6 kB / 0.8822 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.005364, allocations: 11.94 kB / 0.8822 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.005386, allocations: 3.531 kB / 0.8822 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.005387, allocations: 0 / 0.8822 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.005391, allocations: 3.938 kB / 0.8822 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.005394, allocations: 3.938 kB / 0.8822 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.81e-05/0.005462, allocations: 112.6 kB / 0.8823 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.005465, allocations: 4 kB / 0.8823 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.005485, allocations: 11.98 kB / 0.8823 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005487, allocations: 0 / 0.8823 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.005493, allocations: 0 / 0.8823 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.005495, allocations: 4 kB / 0.8823 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005496, allocations: 0 / 0.8823 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.363e-05/0.005579, allocations: 96.64 kB / 0.8824 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.005612, allocations: 4 kB / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.00562, allocations: 0 / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.464e-05/0.005645, allocations: 4 kB / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.005661, allocations: 7.984 kB / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.005664, allocations: 0 / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.005694, allocations: 123.1 kB / 0.8826 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005694, allocations: 0 / 0.8826 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001223/0.005816, allocations: 12.03 kB / 0.8826 GB, free: 1.887 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.587e-05/0.005892, allocations: 95.25 kB / 0.8827 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.005969, allocations: 31.67 kB / 0.8827 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.005972, allocations: 4 kB / 0.8827 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.005988, allocations: 23.67 kB / 0.8827 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.006132, allocations: 11.94 kB / 0.8827 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.006578, allocations: 134.5 kB / 0.8829 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.085e-05/0.006609, allocations: 55.34 kB / 0.8829 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.006641, allocations: 8 kB / 0.8829 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.006666, allocations: 8.5 kB / 0.8829 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.006667, allocations: 0 / 0.8829 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of Templates: time 0.001918/0.008584, allocations: 0.6006 MB / 0.8835 GB, free: 0.8789 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.29193624202162]