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.001419/0.001419, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00162/0.00162, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.458/1.458, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.886/2.886, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.297e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003426/0.003459, allocations: 1.287 MB / 0.8121 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.004249, allocations: 264.4 kB / 0.8123 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.004272, allocations: 0.6562 kB / 0.8123 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.004291, allocations: 0 / 0.8123 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.004351, allocations: 12.78 kB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.004693, allocations: 48.48 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.004773, allocations: 25.53 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.004811, allocations: 4 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.004882, allocations: 11.98 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.874e-05/0.004931, allocations: 4 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.004946, allocations: 1.531 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.005122, allocations: 47.95 kB / 0.8125 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.005141, allocations: 7.938 kB / 0.8125 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.005174, allocations: 11.97 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.005358, allocations: 52.77 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.00536, allocations: 0 / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005361, allocations: 0 / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.005365, allocations: 0.5938 kB / 0.8125 GB, free: 372 kB / 0.7605 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.0004746/0.005839, allocations: 259.9 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.005889, allocations: 12.03 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.006242, allocations: 24.81 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.006394, allocations: 106.5 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.006412, allocations: 4.375 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.006423, allocations: 4.906 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.00659, allocations: 73.56 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.006599, allocations: 192 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.00661, allocations: 384 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.006615, allocations: 384 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.006691, allocations: 15.94 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.007133, allocations: 117.9 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/0.01019, allocations: 270.8 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.01026, allocations: 16.86 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.01028, allocations: 0 / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.01032, allocations: 30.56 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.01032, allocations: 0 / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000272/0.01059, allocations: 65.69 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.01066, allocations: 56.75 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.01078, allocations: 97.78 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.01081, allocations: 26.33 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.01089, allocations: 80.14 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.01093, allocations: 20.38 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.01098, allocations: 13.72 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002407/0.01122, allocations: 315.4 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.01127, allocations: 8.672 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.0113, allocations: 8 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.0114, allocations: 30.38 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0114, allocations: 0 / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001697/0.01157, allocations: 57.62 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.01161, allocations: 10.56 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01161, allocations: 0 / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.01163, allocations: 0 / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.01174, allocations: 7.984 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01175, allocations: 0 / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.01181, allocations: 11.94 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.01182, allocations: 0 / 0.8142 GB, free: 14.49 MB / 0.7761 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 0.0001291/0.01195, allocations: 106.4 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.01198, allocations: 8.766 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.01202, allocations: 7.531 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01202, allocations: 0.9375 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01203, allocations: 0 / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.01204, allocations: 3.938 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.01221, allocations: 110.5 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.01222, allocations: 4 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-05/0.0123, allocations: 7.938 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01231, allocations: 0.8438 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.01232, allocations: 0 / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.01232, allocations: 6.219 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01232, allocations: 0 / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.01253, allocations: 85 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.01259, allocations: 7.984 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.01261, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.01269, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.01272, allocations: 5.031 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.01273, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.746e-05/0.01281, allocations: 80.41 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01281, allocations: 0 / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003732/0.01318, allocations: 11.94 kB / 0.8146 GB, free: 14 MB / 0.7761 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.0001836/0.01336, allocations: 104.3 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.01352, allocations: 23.94 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01352, allocations: 1.062 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.01357, allocations: 11.98 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.01399, allocations: 22.52 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.01449, allocations: 114.7 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.969e-05/0.01459, allocations: 67.67 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.117e-05/0.01466, allocations: 5.609 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.01472, allocations: 17.16 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01472, allocations: 3.906 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of Templates: time 0.005032/0.01975, allocations: 0.601 MB / 0.8156 GB, free: 13.03 MB / 0.7761 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/jenkins/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: 7.78206051804591]