Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.0008708/0.0008708, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009379/0.0009379, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9246/0.9246, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.1 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_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.325e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002044/0.002067, allocations: 1.669 MB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6233/0.6254, allocations: 131.6 MB / 1.081 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.6255, allocations: 0 / 1.081 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.6257, allocations: 27.38 kB / 1.081 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.626, allocations: 53.98 kB / 1.081 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.6263, allocations: 193.7 kB / 1.081 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.6265, allocations: 166.7 kB / 1.081 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.6266, allocations: 33.7 kB / 1.081 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009338/0.6276, allocations: 217.5 kB / 1.081 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.835e-05/0.6276, allocations: 48 kB / 1.081 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.6277, allocations: 10.59 kB / 1.081 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.6279, allocations: 167.4 kB / 1.081 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.6279, allocations: 23.12 kB / 1.081 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.628, allocations: 41.25 kB / 1.082 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.6283, allocations: 232.2 kB / 1.082 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6283, allocations: 2.875 kB / 1.082 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6283, allocations: 4 kB / 1.082 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.6283, allocations: 0 / 1.082 GB, free: 39.85 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005811/0.6289, allocations: 392.4 kB / 1.082 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6289, allocations: 12.25 kB / 1.082 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.234e-05/0.6289, allocations: 44.44 kB / 1.082 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/0.6294, allocations: 75.2 kB / 1.082 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.6295, allocations: 151.2 kB / 1.082 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.6295, allocations: 13.53 kB / 1.082 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.6296, allocations: 8.969 kB / 1.082 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.6298, allocations: 174.7 kB / 1.083 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6298, allocations: 2.906 kB / 1.083 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.6299, allocations: 1.203 kB / 1.083 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.6299, allocations: 6.25 kB / 1.083 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.6301, allocations: 143.9 kB / 1.083 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.6308, allocations: 0.7121 MB / 1.083 GB, free: 38.69 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.631, allocations: 128.7 kB / 1.084 GB, free: 38.66 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.6311, allocations: 83.33 kB / 1.084 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.6311, allocations: 5.844 kB / 1.084 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.6311, allocations: 30.56 kB / 1.084 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/0.6311, allocations: 0 / 1.084 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0009584/0.6321, allocations: 383.3 kB / 1.084 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.6321, allocations: 51.41 kB / 1.084 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/0.6322, allocations: 155.5 kB / 1.084 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.6322, allocations: 25.7 kB / 1.084 GB, free: 38.36 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.6323, allocations: 115.1 kB / 1.084 GB, free: 38.26 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.6323, allocations: 29.02 kB / 1.084 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.6323, allocations: 36.48 kB / 1.084 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.6324, allocations: 323.9 kB / 1.085 GB, free: 37.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.6325, allocations: 67.8 kB / 1.085 GB, free: 37.91 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.6326, allocations: 103.4 kB / 1.085 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.6329, allocations: 178.6 kB / 1.085 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6329, allocations: 2.688 kB / 1.085 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004941/0.6334, allocations: 277.3 kB / 1.085 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6334, allocations: 9.75 kB / 1.085 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6334, allocations: 2.656 kB / 1.085 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.6337, allocations: 87.06 kB / 1.085 GB, free: 37.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.6338, allocations: 35.48 kB / 1.085 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.6349, allocations: 1.551 MB / 1.087 GB, free: 36.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.635, allocations: 29.38 kB / 1.087 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.635, allocations: 8.875 kB / 1.087 GB, free: 36.46 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.6351, allocations: 125.4 kB / 1.087 GB, free: 36.34 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.6351, allocations: 11.19 kB / 1.087 GB, free: 36.34 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.6357, allocations: 311.5 kB / 1.087 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6357, allocations: 5.672 kB / 1.087 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.6357, allocations: 0 / 1.087 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6357, allocations: 3.938 kB / 1.087 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.6358, allocations: 200.5 kB / 1.088 GB, free: 36.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6358, allocations: 0 / 1.088 GB, free: 36.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.6359, allocations: 32.28 kB / 1.088 GB, free: 36.12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/0.6361, allocations: 76.36 kB / 1.088 GB, free: 36.11 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6361, allocations: 3.562 kB / 1.088 GB, free: 36.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008516/0.637, allocations: 1.572 MB / 1.089 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.637, allocations: 6.766 kB / 1.089 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.6374, allocations: 379.7 kB / 1.09 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.6375, allocations: 32.86 kB / 1.09 GB, free: 34.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.6375, allocations: 2.625 kB / 1.09 GB, free: 34.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.6376, allocations: 17.61 kB / 1.09 GB, free: 34.67 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.6377, allocations: 19.39 kB / 1.09 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.6377, allocations: 6.969 kB / 1.09 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.6377, allocations: 115.3 kB / 1.09 GB, free: 34.59 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.6377, allocations: 0 / 1.09 GB, free: 34.59 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000237/0.6379, allocations: 45.56 kB / 1.09 GB, free: 34.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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006781/0.6386, allocations: 0.9268 MB / 1.091 GB, free: 33.89 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.6391, allocations: 296.9 kB / 1.091 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.6391, allocations: 0 / 1.091 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.6393, allocations: 224.2 kB / 1.091 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.6396, allocations: 30.17 kB / 1.091 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.6416, allocations: 2.063 MB / 1.093 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.622e-05/0.6417, allocations: 97.41 kB / 1.093 GB, free: 32.28 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.62e-05/0.6417, allocations: 22.73 kB / 1.093 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.6418, allocations: 39.89 kB / 1.093 GB, free: 32.26 MB / 0.9948 GB Notification: Performance of SimCode: time 7.11e-07/0.6418, allocations: 1.203 kB / 1.093 GB, free: 32.26 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.6648, allocations: 5.488 MB / 1.099 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/9.046, allocations: 11.52 kB / 1.099 GB, free: 31.08 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_TDryBulXi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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: 13.145679077133536]