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.001851/0.001851, allocations: 115 kB / 17.13 MB, free: 5.938 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.002353/0.002353, allocations: 204.4 kB / 20.09 MB, free: 2.992 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.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 0.49 GB / 0.7923 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 70.45 kB / 1.15 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 176.1 MB / 1.322 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002504/0.3435, allocations: 1.288 MB / 1.323 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006135/0.3441, allocations: 303.4 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.3441, allocations: 0 / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.3442, allocations: 0 / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.3442, allocations: 7.938 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.3445, allocations: 51.73 kB / 1.324 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.3446, allocations: 15.94 kB / 1.324 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.3446, allocations: 4 kB / 1.324 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.3447, allocations: 7.984 kB / 1.324 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.3447, allocations: 3.938 kB / 1.324 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.3447, allocations: 7.938 kB / 1.324 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3448, allocations: 55.95 kB / 1.324 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.3449, allocations: 0 / 1.324 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.3449, allocations: 15.97 kB / 1.324 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.345, allocations: 47.78 kB / 1.324 GB, free: 1.176 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.345, allocations: 4 kB / 1.324 GB, free: 1.172 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.345, allocations: 0 / 1.324 GB, free: 1.172 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.345, allocations: 0 / 1.324 GB, free: 1.172 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.0004272/0.3455, allocations: 339.3 kB / 1.324 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3455, allocations: 15.98 kB / 1.324 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.3457, allocations: 16.91 kB / 1.324 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.3458, allocations: 168.3 kB / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.3459, allocations: 384 / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.3459, allocations: 8.375 kB / 1.324 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.346, allocations: 42.25 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.346, allocations: 192 / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.346, allocations: 3.938 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.346, allocations: 0 / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.3461, allocations: 19.98 kB / 1.324 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.3462, allocations: 161.7 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.3482, allocations: 274.3 kB / 1.325 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.3482, allocations: 16.86 kB / 1.325 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.3482, allocations: 0 / 1.325 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3483, allocations: 34.56 kB / 1.325 GB, free: 15.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3483, allocations: 0 / 1.325 GB, free: 15.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001809/0.3485, allocations: 65.62 kB / 1.325 GB, free: 15.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3485, allocations: 51.41 kB / 1.325 GB, free: 15.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.3486, allocations: 101.8 kB / 1.325 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3486, allocations: 25.7 kB / 1.325 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.3486, allocations: 80.14 kB / 1.325 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3487, allocations: 15.91 kB / 1.325 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.3487, allocations: 13.84 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3488, allocations: 318.8 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.3489, allocations: 7.984 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.3489, allocations: 8 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.165e-05/0.3489, allocations: 24.86 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3489, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.296e-05/0.349, allocations: 53.69 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.349, allocations: 6.344 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.349, allocations: 7.875 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3491, allocations: 4 kB / 1.326 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.3491, allocations: 7.984 kB / 1.326 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3491, allocations: 7.938 kB / 1.326 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.3492, allocations: 3.953 kB / 1.326 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3492, allocations: 0 / 1.326 GB, free: 15.08 MB / 1.029 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.639e-05/0.3493, allocations: 113.8 kB / 1.326 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-06/0.3493, allocations: 0 / 1.326 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.3493, allocations: 11.44 kB / 1.326 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3493, allocations: 0 / 1.326 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3493, allocations: 4 kB / 1.326 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3493, allocations: 0 / 1.326 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.3495, allocations: 161.6 kB / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3495, allocations: 0 / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.3495, allocations: 8 kB / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3495, allocations: 3.938 kB / 1.326 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3495, allocations: 7.922 kB / 1.326 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.3495, allocations: 0 / 1.326 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3495, allocations: 4 kB / 1.326 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.3496, allocations: 85.39 kB / 1.326 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.3497, allocations: 81.14 kB / 1.326 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3497, allocations: 3.938 kB / 1.326 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.727e-05/0.3498, allocations: 4 kB / 1.326 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.3498, allocations: 3.984 kB / 1.326 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3498, allocations: 0 / 1.326 GB, free: 14.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.3498, allocations: 79.28 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3498, allocations: 0 / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001884/0.35, allocations: 8.094 kB / 1.326 GB, free: 14.41 MB / 1.029 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.0001203/0.3502, allocations: 99.25 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.883e-05/0.3503, allocations: 27.92 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3503, allocations: 4 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.691e-05/0.3503, allocations: 8 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3505, allocations: 11.98 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.3509, allocations: 148.4 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.3512, allocations: 0.6806 MB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.3512, allocations: 7.438 kB / 1.327 GB, free: 13.36 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3512, allocations: 0 / 1.327 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Templates: time 0.001912/0.3531, allocations: 0.5346 MB / 1.328 GB, free: 12.83 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.072784613003023]