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.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.001498/0.001498, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001567/0.001567, allocations: 189.5 kB / 22.22 MB, free: 5.105 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.332/1.332, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.976/2.976, allocations: 0.4893 GB / 0.7884 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.002017/0.002017, allocations: 67.64 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3515, allocations: 174.9 MB / 1.316 GB, free: 9.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002441/0.354, allocations: 1.266 MB / 1.317 GB, free: 8.383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000632/0.3546, allocations: 299.5 kB / 1.318 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.3546, allocations: 0 / 1.318 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.3547, allocations: 3.938 kB / 1.318 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.3547, allocations: 0 / 1.318 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.355, allocations: 55.73 kB / 1.318 GB, free: 8.031 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.517e-05/0.3551, allocations: 23.81 kB / 1.318 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.3551, allocations: 0 / 1.318 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.3552, allocations: 7.984 kB / 1.318 GB, free: 8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.3552, allocations: 4 kB / 1.318 GB, free: 7.996 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3552, allocations: 0 / 1.318 GB, free: 7.996 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3554, allocations: 59.95 kB / 1.318 GB, free: 7.938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.3554, allocations: 7.938 kB / 1.318 GB, free: 7.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.3554, allocations: 11.97 kB / 1.318 GB, free: 7.918 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3556, allocations: 47.78 kB / 1.318 GB, free: 7.871 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3556, allocations: 0 / 1.318 GB, free: 7.871 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3556, allocations: 4 kB / 1.318 GB, free: 7.867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3556, allocations: 0 / 1.318 GB, free: 7.867 MB / 1.014 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.0004213/0.356, allocations: 258.3 kB / 1.318 GB, free: 7.582 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.356, allocations: 8.031 kB / 1.318 GB, free: 7.574 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.3563, allocations: 16.92 kB / 1.318 GB, free: 7.559 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3564, allocations: 114.5 kB / 1.318 GB, free: 7.422 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3564, allocations: 384 / 1.318 GB, free: 7.422 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.3564, allocations: 384 / 1.318 GB, free: 7.422 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3565, allocations: 50.19 kB / 1.318 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3565, allocations: 192 / 1.318 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3566, allocations: 3.938 kB / 1.318 GB, free: 7.363 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3566, allocations: 0 / 1.318 GB, free: 7.363 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.3566, allocations: 19.98 kB / 1.318 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.3568, allocations: 132.7 kB / 1.318 GB, free: 7.172 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.3587, allocations: 262.5 kB / 1.319 GB, free: 6.906 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.3587, allocations: 24.83 kB / 1.319 GB, free: 6.879 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3587, allocations: 0 / 1.319 GB, free: 6.879 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3588, allocations: 42.5 kB / 1.319 GB, free: 6.828 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3588, allocations: 4 kB / 1.319 GB, free: 6.824 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.3589, allocations: 61.62 kB / 1.319 GB, free: 6.758 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.359, allocations: 55.41 kB / 1.319 GB, free: 6.691 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.3591, allocations: 93.86 kB / 1.319 GB, free: 6.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3591, allocations: 25.7 kB / 1.319 GB, free: 6.559 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.3591, allocations: 80.14 kB / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.3591, allocations: 23.81 kB / 1.319 GB, free: 6.453 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.3592, allocations: 13.84 kB / 1.319 GB, free: 6.434 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3593, allocations: 318.8 kB / 1.319 GB, free: 6.113 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.3593, allocations: 8 kB / 1.319 GB, free: 6.105 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/0.3594, allocations: 11.92 kB / 1.319 GB, free: 6.094 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.3594, allocations: 28.86 kB / 1.319 GB, free: 6.062 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3594, allocations: 0 / 1.319 GB, free: 6.062 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.597e-05/0.3595, allocations: 53.69 kB / 1.319 GB, free: 6.004 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3595, allocations: 4 kB / 1.319 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3595, allocations: 3.938 kB / 1.319 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3595, allocations: 0 / 1.319 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.3596, allocations: 12 kB / 1.319 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.3596, allocations: 0 / 1.319 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.3596, allocations: 0 / 1.319 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.3596, allocations: 0 / 1.319 GB, free: 5.984 MB / 1.014 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 8.583e-05/0.3597, allocations: 122.2 kB / 1.32 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.3597, allocations: 0 / 1.32 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.3598, allocations: 11.47 kB / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3598, allocations: 0 / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3598, allocations: 0 / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3598, allocations: 4 kB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.3599, allocations: 136.7 kB / 1.32 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3599, allocations: 0 / 1.32 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.3599, allocations: 4 kB / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3599, allocations: 0 / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.36, allocations: 7.938 kB / 1.32 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.36, allocations: 0 / 1.32 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.36, allocations: 0 / 1.32 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.3601, allocations: 77.11 kB / 1.32 GB, free: 5.551 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.3601, allocations: 8.312 kB / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3601, allocations: 11.94 kB / 1.32 GB, free: 5.531 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/0.3602, allocations: 3.938 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.3602, allocations: 0 / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.3602, allocations: 7.984 kB / 1.32 GB, free: 5.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.3602, allocations: 79.22 kB / 1.32 GB, free: 5.441 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3602, allocations: 0 / 1.32 GB, free: 5.441 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001892/0.3604, allocations: 4 kB / 1.32 GB, free: 5.438 MB / 1.014 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.000122/0.3605, allocations: 103.3 kB / 1.32 GB, free: 5.324 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.3606, allocations: 27.97 kB / 1.32 GB, free: 5.297 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3606, allocations: 0 / 1.32 GB, free: 5.297 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.517e-05/0.3607, allocations: 15.94 kB / 1.32 GB, free: 5.281 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3609, allocations: 11.98 kB / 1.32 GB, free: 5.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.3612, allocations: 126.8 kB / 1.32 GB, free: 5.121 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3615, allocations: 0.6768 MB / 1.321 GB, free: 4.418 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.3616, allocations: 3.859 kB / 1.321 GB, free: 4.414 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.3616, allocations: 15.44 kB / 1.321 GB, free: 4.398 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3616, allocations: 0 / 1.321 GB, free: 4.398 MB / 1.014 GB Notification: Performance of Templates: time 0.002854/0.3645, allocations: 0.5246 MB / 1.321 GB, free: 3.879 MB / 1.014 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.340148297138512]