Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 197.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.7 MB / 0.7645 GB, free: 10.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 64.09 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9116/0.9136, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00258/0.9162, allocations: 1.264 MB / 1.275 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00064/0.9168, allocations: 303.1 kB / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.9168, allocations: 0 / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.9168, allocations: 3.938 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.785e-05/0.9169, allocations: 7.969 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.9172, allocations: 47.77 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.051e-05/0.9173, allocations: 27.86 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.9173, allocations: 0 / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.9174, allocations: 11.92 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.9174, allocations: 8 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.9175, allocations: 0 / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.9176, allocations: 59.94 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.9176, allocations: 0 / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.9176, allocations: 7.938 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.9178, allocations: 46.56 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.9178, allocations: 7.938 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9178, allocations: 0 / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.9178, allocations: 4 kB / 1.276 GB, free: 2.766 MB / 0.9669 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.0004953/0.9183, allocations: 331.4 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.9183, allocations: 12.02 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.9186, allocations: 20.92 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.9187, allocations: 160.4 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.9187, allocations: 4.375 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.9188, allocations: 384 / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.9189, allocations: 50.19 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9189, allocations: 192 / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.9189, allocations: 7.938 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9189, allocations: 0 / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.919, allocations: 15.98 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.9192, allocations: 161.6 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.9211, allocations: 270.4 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.9211, allocations: 20.84 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.9212, allocations: 0 / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.9212, allocations: 34.5 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.9212, allocations: 0 / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001899/0.9214, allocations: 73.58 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.9214, allocations: 51.41 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.9215, allocations: 93.86 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.9215, allocations: 29.7 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.9216, allocations: 80.14 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.9216, allocations: 11.84 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.9216, allocations: 21.7 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.9218, allocations: 315 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.9218, allocations: 8 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.9218, allocations: 8 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.9219, allocations: 32.78 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9219, allocations: 3.938 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.844e-05/0.922, allocations: 53.69 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.922, allocations: 8 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.922, allocations: 3.938 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.922, allocations: 0 / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.9221, allocations: 4 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.9221, allocations: 4 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.9221, allocations: 0 / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.9221, allocations: 4 kB / 1.278 GB, free: 0.6836 MB / 0.9669 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 9.589e-05/0.9222, allocations: 110.3 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.9223, allocations: 4 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.9223, allocations: 15.42 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.9223, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9223, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9223, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.9224, allocations: 157.7 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9224, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.9225, allocations: 8 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.9225, allocations: 0 / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.9225, allocations: 7.938 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9225, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9225, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.9226, allocations: 77.41 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/0.9227, allocations: 89.09 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.9227, allocations: 3.938 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/0.9228, allocations: 15.92 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.9228, allocations: 7.984 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.9228, allocations: 0 / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.9229, allocations: 75.28 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.9229, allocations: 0 / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001862/0.9231, allocations: 8 kB / 1.278 GB, free: 20 kB / 0.9669 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.0001493/0.9232, allocations: 103.3 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.9233, allocations: 24 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9233, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.9233, allocations: 23.86 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.9236, allocations: 4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.924, allocations: 152.6 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.9243, allocations: 0.6768 MB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.9244, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.9244, allocations: 11.44 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.9244, allocations: 4 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of Templates: time 0.002973/0.9274, allocations: 0.5227 MB / 1.28 GB, free: 14.45 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.074132303707302]