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.0008565/0.0008565, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009184/0.0009184, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8809/0.8809, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.635/1.635, allocations: 359 MB / 0.6037 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.478e-05, allocations: 9.453 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002309/0.002324, allocations: 1.88 MB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5321/0.5344, allocations: 136.7 MB / 1.086 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.5345, allocations: 2.156 kB / 1.086 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.5347, allocations: 26.59 kB / 1.086 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.5349, allocations: 85.64 kB / 1.086 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.5353, allocations: 266.3 kB / 1.086 GB, free: 39.53 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.5355, allocations: 279.2 kB / 1.086 GB, free: 39.53 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.5357, allocations: 53.08 kB / 1.087 GB, free: 39.52 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008176/0.5365, allocations: 293.8 kB / 1.087 GB, free: 39.51 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.5366, allocations: 73.78 kB / 1.087 GB, free: 39.51 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.5366, allocations: 13.5 kB / 1.087 GB, free: 39.51 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.5368, allocations: 184 kB / 1.087 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.5368, allocations: 45.72 kB / 1.087 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.5369, allocations: 61.45 kB / 1.087 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.5372, allocations: 322 kB / 1.087 GB, free: 39.48 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5372, allocations: 4 kB / 1.087 GB, free: 39.47 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5372, allocations: 0 / 1.087 GB, free: 39.47 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5372, allocations: 0 / 1.087 GB, free: 39.47 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.0005692/0.5378, allocations: 466.8 kB / 1.088 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.5378, allocations: 8.594 kB / 1.088 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.5378, allocations: 49.77 kB / 1.088 GB, free: 39.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005754/0.5384, allocations: 114.5 kB / 1.088 GB, free: 39.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.5386, allocations: 173 kB / 1.088 GB, free: 38.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.5386, allocations: 66.7 kB / 1.088 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.5387, allocations: 18.38 kB / 1.088 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.539, allocations: 316.5 kB / 1.089 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.539, allocations: 0 / 1.089 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.539, allocations: 12.16 kB / 1.089 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.539, allocations: 9.828 kB / 1.089 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.5392, allocations: 167 kB / 1.089 GB, free: 38.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.54, allocations: 1.117 MB / 1.09 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.5405, allocations: 195.6 kB / 1.09 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.5405, allocations: 67.59 kB / 1.09 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.5406, allocations: 3 kB / 1.09 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.5406, allocations: 37.86 kB / 1.09 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.5406, allocations: 0 / 1.09 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.001216/0.5418, allocations: 492.9 kB / 1.091 GB, free: 37.68 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.5418, allocations: 54.22 kB / 1.091 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.5419, allocations: 217.6 kB / 1.091 GB, free: 37.51 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.542, allocations: 27.92 kB / 1.091 GB, free: 37.48 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.542, allocations: 142 kB / 1.091 GB, free: 37.37 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.542, allocations: 42.94 kB / 1.091 GB, free: 37.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.5421, allocations: 52.56 kB / 1.091 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.823e-05/0.5421, allocations: 328.2 kB / 1.091 GB, free: 37 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.5422, allocations: 67.92 kB / 1.092 GB, free: 37 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.5423, allocations: 162.1 kB / 1.092 GB, free: 36.9 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.5426, allocations: 197.8 kB / 1.092 GB, free: 36.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5426, allocations: 3.438 kB / 1.092 GB, free: 36.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006697/0.5432, allocations: 372.9 kB / 1.092 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5433, allocations: 11.91 kB / 1.092 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5433, allocations: 1.094 kB / 1.092 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.5437, allocations: 163.6 kB / 1.092 GB, free: 36.72 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.5438, allocations: 35.81 kB / 1.092 GB, free: 36.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.5456, allocations: 3.034 MB / 1.095 GB, free: 34.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.5457, allocations: 35.81 kB / 1.095 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.5458, allocations: 14.75 kB / 1.095 GB, free: 34.16 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 7.141e-05/0.5458, allocations: 134.1 kB / 1.096 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.5459, allocations: 16.66 kB / 1.096 GB, free: 34.03 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.5465, allocations: 375.8 kB / 1.096 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5465, allocations: 3.188 kB / 1.096 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.5465, allocations: 3.719 kB / 1.096 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5465, allocations: 0 / 1.096 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.5466, allocations: 219 kB / 1.096 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5466, allocations: 1.438 kB / 1.096 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.5467, allocations: 28.3 kB / 1.096 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.547, allocations: 142.6 kB / 1.096 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.547, allocations: 4 kB / 1.096 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.5486, allocations: 3.075 MB / 1.099 GB, free: 31.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5486, allocations: 0 / 1.099 GB, free: 31.24 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.5491, allocations: 430.9 kB / 1.1 GB, free: 31.07 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.5492, allocations: 32.03 kB / 1.1 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.5492, allocations: 6.891 kB / 1.1 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.5493, allocations: 18.77 kB / 1.1 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.5494, allocations: 26.31 kB / 1.1 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.5494, allocations: 8.656 kB / 1.1 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.498e-05/0.5495, allocations: 158 kB / 1.1 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.5495, allocations: 1.203 kB / 1.1 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002503/0.5497, allocations: 70.34 kB / 1.1 GB, free: 30.95 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.000738/0.5505, allocations: 0.9789 MB / 1.101 GB, free: 30.19 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.551, allocations: 440.2 kB / 1.101 GB, free: 29.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.551, allocations: 3.938 kB / 1.101 GB, free: 29.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.5513, allocations: 348 kB / 1.102 GB, free: 29.64 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.5516, allocations: 60.69 kB / 1.102 GB, free: 29.62 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.5546, allocations: 2.532 MB / 1.104 GB, free: 27.91 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.5547, allocations: 122.4 kB / 1.104 GB, free: 27.83 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.5549, allocations: 36.64 kB / 1.104 GB, free: 27.81 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.555, allocations: 57.98 kB / 1.105 GB, free: 27.77 MB / 0.9948 GB Notification: Performance of SimCode: time 1.152e-06/0.555, allocations: 0.75 kB / 1.105 GB, free: 27.77 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.5793, allocations: 8.156 MB / 1.112 GB, free: 26.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.564, allocations: 5.641 kB / 1.112 GB, free: 26.36 MB / 0.9948 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/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: 12.603550541214645]