Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 443.5 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.91 kB / 1.059 GB, free: 1 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2573, allocations: 160.7 MB / 1.216 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00307/0.2604, allocations: 1.947 MB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.663/0.9234, allocations: 156 MB / 1.37 GB, free: 1.312 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.9235, allocations: 2.188 kB / 1.37 GB, free: 1.312 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.9237, allocations: 27.55 kB / 1.37 GB, free: 1.293 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.924, allocations: 77.64 kB / 1.37 GB, free: 1.238 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.9246, allocations: 270 kB / 1.37 GB, free: 1.102 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.9249, allocations: 261.5 kB / 1.37 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.925, allocations: 51.8 kB / 1.37 GB, free: 0.957 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.9263, allocations: 247 kB / 1.371 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.9265, allocations: 99.05 kB / 1.371 GB, free: 0.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.9265, allocations: 13.78 kB / 1.371 GB, free: 0.832 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.9268, allocations: 184.6 kB / 1.371 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.9269, allocations: 51.12 kB / 1.371 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.211e-05/0.927, allocations: 92.55 kB / 1.371 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.9273, allocations: 286.9 kB / 1.371 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.9273, allocations: 0 / 1.371 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9273, allocations: 0 / 1.371 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.9273, allocations: 0 / 1.371 GB, free: 0.5938 MB / 1.045 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.0009068/0.9282, allocations: 0.5247 MB / 1.372 GB, free: 144 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.9283, allocations: 13.16 kB / 1.372 GB, free: 140 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.9283, allocations: 53.23 kB / 1.372 GB, free: 88 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007736/0.9291, allocations: 91.41 kB / 1.372 GB, free: 72 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.9294, allocations: 239.3 kB / 1.372 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.9295, allocations: 37.34 kB / 1.372 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.9295, allocations: 14.78 kB / 1.372 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.93, allocations: 260.4 kB / 1.373 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.93, allocations: 0 / 1.373 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.93, allocations: 6.312 kB / 1.373 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.93, allocations: 5.219 kB / 1.373 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.9304, allocations: 178 kB / 1.373 GB, free: 15.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.932, allocations: 1.186 MB / 1.374 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/0.9327, allocations: 189.3 kB / 1.374 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.9329, allocations: 70.06 kB / 1.374 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.9329, allocations: 2.594 kB / 1.374 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.9329, allocations: 34.27 kB / 1.374 GB, free: 14.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.9329, allocations: 0 / 1.374 GB, free: 14.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.002521/0.9354, allocations: 0.6272 MB / 1.375 GB, free: 14.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.9355, allocations: 57.06 kB / 1.375 GB, free: 14.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.9357, allocations: 221.3 kB / 1.375 GB, free: 13.9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.9357, allocations: 30.83 kB / 1.375 GB, free: 13.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.9358, allocations: 136.9 kB / 1.375 GB, free: 13.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.9359, allocations: 37.39 kB / 1.375 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.9359, allocations: 50.69 kB / 1.375 GB, free: 13.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9361, allocations: 331.6 kB / 1.376 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.9363, allocations: 75.84 kB / 1.376 GB, free: 13.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.9365, allocations: 128.1 kB / 1.376 GB, free: 13.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.9369, allocations: 209.4 kB / 1.376 GB, free: 13.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9369, allocations: 0 / 1.376 GB, free: 13.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001361/0.9383, allocations: 377.4 kB / 1.376 GB, free: 12.97 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.9383, allocations: 7.406 kB / 1.376 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9383, allocations: 2.594 kB / 1.376 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.9393, allocations: 173.6 kB / 1.377 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.9395, allocations: 34.83 kB / 1.377 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.9434, allocations: 3.247 MB / 1.38 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.9437, allocations: 36.3 kB / 1.38 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.9437, allocations: 9.281 kB / 1.38 GB, free: 9.879 MB / 1.061 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 0.0001247/0.9439, allocations: 138.1 kB / 1.38 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.9439, allocations: 15.88 kB / 1.38 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.9451, allocations: 365.5 kB / 1.38 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.9452, allocations: 7.734 kB / 1.38 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.9452, allocations: 3.156 kB / 1.38 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9452, allocations: 1.031 kB / 1.38 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.9455, allocations: 280.5 kB / 1.381 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9455, allocations: 0 / 1.381 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.9456, allocations: 22.22 kB / 1.381 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007618/0.9463, allocations: 143.9 kB / 1.381 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.9464, allocations: 6.344 kB / 1.381 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003544/0.9499, allocations: 3.292 MB / 1.384 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9499, allocations: 6.469 kB / 1.384 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.9511, allocations: 433.2 kB / 1.384 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.9512, allocations: 121 kB / 1.384 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.9512, allocations: 1.062 kB / 1.384 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.9515, allocations: 16.17 kB / 1.384 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.9516, allocations: 18.61 kB / 1.384 GB, free: 5.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.9516, allocations: 8.094 kB / 1.384 GB, free: 5.883 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001738/0.9518, allocations: 164.6 kB / 1.385 GB, free: 5.777 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9518, allocations: 0 / 1.385 GB, free: 5.777 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003745/0.9521, allocations: 71.28 kB / 1.385 GB, free: 5.766 MB / 1.061 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.001585/0.9537, allocations: 0.9811 MB / 1.386 GB, free: 4.988 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009957/0.9547, allocations: 445.1 kB / 1.386 GB, free: 4.699 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9547, allocations: 1.312 kB / 1.386 GB, free: 4.699 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006676/0.9554, allocations: 347.5 kB / 1.386 GB, free: 4.441 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.9558, allocations: 66.05 kB / 1.386 GB, free: 4.414 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.9606, allocations: 2.522 MB / 1.389 GB, free: 2.531 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.9609, allocations: 0.7357 MB / 1.39 GB, free: 1.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.961, allocations: 34.25 kB / 1.39 GB, free: 1.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-05/0.9611, allocations: 49.61 kB / 1.39 GB, free: 1.75 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.9611, allocations: 4 kB / 1.39 GB, free: 1.746 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.9982, allocations: 7.357 MB / 1.397 GB, free: 14.01 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.49, allocations: 5.328 kB / 1.397 GB, free: 14.01 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.78799857699778]