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.001425/0.001425, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001528/0.001528, allocations: 174.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.546/1.546, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 3.1/3.1, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.004e-06/2.004e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.553e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00277/0.002806, allocations: 1.284 MB / 1.001 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0006564/0.003462, allocations: 259.2 kB / 1.002 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.003492, allocations: 4 kB / 1.002 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.003511, allocations: 3.938 kB / 1.002 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-05/0.003566, allocations: 7.922 kB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.003922, allocations: 51.69 kB / 1.002 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.004006, allocations: 19.92 kB / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.004053, allocations: 4 kB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.236e-05/0.004125, allocations: 11.92 kB / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.004178, allocations: 4 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.004194, allocations: 3.938 kB / 1.002 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.004349, allocations: 55.94 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.004365, allocations: 4 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.004391, allocations: 7.984 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.00456, allocations: 55.83 kB / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004563, allocations: 0 / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004564, allocations: 3.938 kB / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.004568, allocations: 0 / 1.002 GB, free: 5.52 MB / 0.9512 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.0004404/0.005009, allocations: 258.3 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.00505, allocations: 12.03 kB / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.005308, allocations: 20.86 kB / 1.002 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.00542, allocations: 105.8 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.005433, allocations: 384 / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.005445, allocations: 4.375 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.005595, allocations: 67.95 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.005604, allocations: 4.125 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.005621, allocations: 8.359 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.005626, allocations: 4.375 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.185e-05/0.005688, allocations: 23.86 kB / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.005865, allocations: 105.3 kB / 1.002 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.007809, allocations: 262.5 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.007859, allocations: 20.84 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.007869, allocations: 0 / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.007903, allocations: 38.56 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.007904, allocations: 0 / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002185/0.008122, allocations: 61.62 kB / 1.003 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.008164, allocations: 51.41 kB / 1.003 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.008248, allocations: 101.8 kB / 1.003 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.008272, allocations: 29.7 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.008321, allocations: 80.14 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.008354, allocations: 7.906 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.008398, allocations: 21.7 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.008551, allocations: 310.8 kB / 1.003 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.008575, allocations: 8 kB / 1.003 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.008597, allocations: 12 kB / 1.003 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/0.008653, allocations: 24.84 kB / 1.003 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008655, allocations: 4 kB / 1.003 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001031/0.008758, allocations: 57.69 kB / 1.003 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.008777, allocations: 12 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.008782, allocations: 0 / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.008799, allocations: 0 / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.008863, allocations: 8 kB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.00887, allocations: 0 / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.00891, allocations: 11.88 kB / 1.004 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.008916, allocations: 0 / 1.004 GB, free: 3.637 MB / 0.9512 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.003e-05/0.009006, allocations: 105.8 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.009038, allocations: 11.95 kB / 1.004 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.009075, allocations: 7.516 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009077, allocations: 4 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.009082, allocations: 0 / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.009087, allocations: 3.938 kB / 1.004 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.009215, allocations: 105.3 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.009219, allocations: 4 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.009272, allocations: 12.27 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009275, allocations: 0 / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.009282, allocations: 0 / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.009284, allocations: 0 / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.009288, allocations: 7.922 kB / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.009438, allocations: 85.05 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.009483, allocations: 4 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.009499, allocations: 4 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.009552, allocations: 0 / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.009571, allocations: 3.984 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.009579, allocations: 4 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.009623, allocations: 79.28 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.009623, allocations: 0 / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001924/0.009815, allocations: 7.938 kB / 1.004 GB, free: 3.129 MB / 0.9512 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.0001442/0.009959, allocations: 103.3 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.01007, allocations: 27.98 kB / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.01008, allocations: 4 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.0101, allocations: 4 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.01043, allocations: 22.27 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.01081, allocations: 120.8 kB / 1.004 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.739e-05/0.01087, allocations: 59.36 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.121e-05/0.01092, allocations: 4 kB / 1.004 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.01095, allocations: 12.5 kB / 1.004 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.01095, allocations: 0 / 1.004 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of Templates: time 0.00329/0.01424, allocations: 0.5417 MB / 1.005 GB, free: 2.191 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.572542354464531]