Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001035/0.001035, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001184/0.001184, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9297/0.9297, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.69/1.69, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9517 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.375e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002092/0.002115, allocations: 1.88 MB / 0.9535 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6279/0.63, allocations: 136.7 MB / 1.087 GB, free: 40.02 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.6302, allocations: 2.938 kB / 1.087 GB, free: 40.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.6304, allocations: 24.55 kB / 1.087 GB, free: 40 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.6307, allocations: 83.14 kB / 1.087 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.6313, allocations: 263.8 kB / 1.087 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.6315, allocations: 280.7 kB / 1.088 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.6317, allocations: 45.53 kB / 1.088 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009276/0.6326, allocations: 303.5 kB / 1.088 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.6327, allocations: 72.7 kB / 1.088 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.6327, allocations: 13.78 kB / 1.088 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.633, allocations: 184.7 kB / 1.088 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.6331, allocations: 45.64 kB / 1.088 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.6331, allocations: 70.39 kB / 1.088 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.6335, allocations: 318.3 kB / 1.089 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6335, allocations: 0 / 1.089 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6335, allocations: 2.219 kB / 1.089 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6335, allocations: 0 / 1.089 GB, free: 39.91 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006037/0.6341, allocations: 462.4 kB / 1.089 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.6341, allocations: 11.5 kB / 1.089 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.6347, allocations: 113.8 kB / 1.089 GB, free: 39.56 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.6349, allocations: 170.3 kB / 1.089 GB, free: 39.41 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.635, allocations: 70.53 kB / 1.089 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.635, allocations: 21.25 kB / 1.089 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.6354, allocations: 316.5 kB / 1.09 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6354, allocations: 3.938 kB / 1.09 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.6354, allocations: 5.812 kB / 1.09 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6354, allocations: 5.875 kB / 1.09 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.6356, allocations: 168.1 kB / 1.09 GB, free: 39.17 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008231/0.6364, allocations: 1.074 MB / 1.091 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.6369, allocations: 206.1 kB / 1.091 GB, free: 38.32 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.637, allocations: 62.64 kB / 1.091 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.637, allocations: 0 / 1.091 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.637, allocations: 35.75 kB / 1.091 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.637, allocations: 0 / 1.091 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.001202/0.6382, allocations: 490.1 kB / 1.092 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.6382, allocations: 54.41 kB / 1.092 GB, free: 38.13 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.6383, allocations: 185.6 kB / 1.092 GB, free: 38.03 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.6384, allocations: 29.14 kB / 1.092 GB, free: 38 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.6384, allocations: 148.6 kB / 1.092 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.6384, allocations: 45.05 kB / 1.092 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.6385, allocations: 46.42 kB / 1.092 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.104e-05/0.6385, allocations: 320.3 kB / 1.093 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.6386, allocations: 71.06 kB / 1.093 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.6388, allocations: 160.1 kB / 1.093 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.639, allocations: 202 kB / 1.093 GB, free: 37.34 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.639, allocations: 2.625 kB / 1.093 GB, free: 37.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006522/0.6396, allocations: 361.6 kB / 1.093 GB, free: 37.26 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6396, allocations: 9.469 kB / 1.093 GB, free: 37.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6396, allocations: 2.625 kB / 1.093 GB, free: 37.26 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/0.6401, allocations: 158.2 kB / 1.093 GB, free: 37.24 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.6402, allocations: 46.31 kB / 1.094 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.6421, allocations: 3 MB / 1.096 GB, free: 34.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.6422, allocations: 33.16 kB / 1.096 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.6422, allocations: 12.36 kB / 1.097 GB, free: 34.73 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/0.6423, allocations: 138.7 kB / 1.097 GB, free: 34.61 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.6424, allocations: 13.22 kB / 1.097 GB, free: 34.61 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.6429, allocations: 368.2 kB / 1.097 GB, free: 34.54 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6429, allocations: 2.656 kB / 1.097 GB, free: 34.54 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.6429, allocations: 0 / 1.097 GB, free: 34.54 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6429, allocations: 6.781 kB / 1.097 GB, free: 34.54 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.6431, allocations: 186 kB / 1.097 GB, free: 34.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6431, allocations: 0 / 1.097 GB, free: 34.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.6432, allocations: 22.52 kB / 1.097 GB, free: 34.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/0.6435, allocations: 141.2 kB / 1.097 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.6435, allocations: 0 / 1.097 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.645, allocations: 3.039 MB / 1.1 GB, free: 31.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.645, allocations: 3.156 kB / 1.1 GB, free: 31.91 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.6456, allocations: 430.4 kB / 1.101 GB, free: 31.72 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.6456, allocations: 33.77 kB / 1.101 GB, free: 31.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.6456, allocations: 7.375 kB / 1.101 GB, free: 31.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.6458, allocations: 12.36 kB / 1.101 GB, free: 31.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.6458, allocations: 26.34 kB / 1.101 GB, free: 31.69 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.6458, allocations: 10.23 kB / 1.101 GB, free: 31.69 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.6459, allocations: 136.6 kB / 1.101 GB, free: 31.59 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6459, allocations: 0 / 1.101 GB, free: 31.59 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000294/0.6462, allocations: 78.47 kB / 1.101 GB, free: 31.58 MB / 0.9948 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001541/0.6464, allocations: 114.2 kB / 1.101 GB, free: 31.48 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.6469, allocations: 439.3 kB / 1.102 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6469, allocations: 4 kB / 1.102 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.6471, allocations: 352.3 kB / 1.102 GB, free: 30.94 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.6474, allocations: 46.25 kB / 1.102 GB, free: 30.92 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.648, allocations: 441.3 kB / 1.102 GB, free: 30.65 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.913e-05/0.6481, allocations: 125.6 kB / 1.102 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.6481, allocations: 22.59 kB / 1.102 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of SimCode: time 4.61e-07/0.6481, allocations: 4 kB / 1.102 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of Templates: time 0.006211/0.6543, allocations: 4.23 MB / 1.107 GB, free: 30.29 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.952223754487932]