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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004875/0.004875, allocations: 98.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 193.3 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2796, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003205/0.2828, allocations: 1.91 MB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7016/0.9844, allocations: 155.4 MB / 1.32 GB, free: 10.14 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.9846, allocations: 2.062 kB / 1.32 GB, free: 10.14 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.9848, allocations: 30.02 kB / 1.32 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.9851, allocations: 74.12 kB / 1.32 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.9859, allocations: 260.5 kB / 1.32 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.9862, allocations: 271.8 kB / 1.32 GB, free: 9.961 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.9864, allocations: 77.27 kB / 1.32 GB, free: 9.938 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.9876, allocations: 248 kB / 1.321 GB, free: 9.902 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.9878, allocations: 95.78 kB / 1.321 GB, free: 9.879 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.9878, allocations: 14.81 kB / 1.321 GB, free: 9.879 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.9882, allocations: 187.8 kB / 1.321 GB, free: 9.859 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.9883, allocations: 40.61 kB / 1.321 GB, free: 9.855 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.9884, allocations: 94.78 kB / 1.321 GB, free: 9.824 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.9889, allocations: 286.2 kB / 1.321 GB, free: 9.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9889, allocations: 0 / 1.321 GB, free: 9.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9889, allocations: 0 / 1.321 GB, free: 9.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.9889, allocations: 0 / 1.321 GB, free: 9.77 MB / 1.014 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.0009553/0.9899, allocations: 0.5281 MB / 1.322 GB, free: 9.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.9899, allocations: 9.969 kB / 1.322 GB, free: 9.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/0.99, allocations: 51.33 kB / 1.322 GB, free: 9.301 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00088/0.9909, allocations: 86.44 kB / 1.322 GB, free: 9.285 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.9912, allocations: 234.7 kB / 1.322 GB, free: 9.062 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/0.9913, allocations: 40.05 kB / 1.322 GB, free: 9.031 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.9913, allocations: 13.97 kB / 1.322 GB, free: 9.031 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.9918, allocations: 263.6 kB / 1.323 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9919, allocations: 0 / 1.323 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.9919, allocations: 5.812 kB / 1.323 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.9919, allocations: 9.422 kB / 1.323 GB, free: 8.926 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.9924, allocations: 165.4 kB / 1.323 GB, free: 8.918 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.9941, allocations: 1.187 MB / 1.324 GB, free: 8.012 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/0.9949, allocations: 206.8 kB / 1.324 GB, free: 7.984 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.995, allocations: 67.98 kB / 1.324 GB, free: 7.973 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.9951, allocations: 1.531 kB / 1.324 GB, free: 7.973 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.9951, allocations: 43.77 kB / 1.324 GB, free: 7.922 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.9951, allocations: 0 / 1.324 GB, free: 7.922 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.00279/0.9979, allocations: 0.6271 MB / 1.325 GB, free: 7.594 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.998, allocations: 57.25 kB / 1.325 GB, free: 7.527 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.9982, allocations: 218.3 kB / 1.325 GB, free: 7.387 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.9983, allocations: 27.56 kB / 1.325 GB, free: 7.355 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.9984, allocations: 147.3 kB / 1.325 GB, free: 7.223 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.9984, allocations: 37 kB / 1.325 GB, free: 7.195 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.9986, allocations: 50.67 kB / 1.325 GB, free: 7.164 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9987, allocations: 334.5 kB / 1.326 GB, free: 6.836 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.9989, allocations: 67.25 kB / 1.326 GB, free: 6.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.9992, allocations: 134.1 kB / 1.326 GB, free: 6.723 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.9997, allocations: 195.7 kB / 1.326 GB, free: 6.602 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9997, allocations: 0.7969 kB / 1.326 GB, free: 6.602 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001571/1.001, allocations: 373.9 kB / 1.326 GB, free: 6.461 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.001, allocations: 11.64 kB / 1.326 GB, free: 6.457 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.001, allocations: 2.172 kB / 1.326 GB, free: 6.457 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.003, allocations: 169.6 kB / 1.327 GB, free: 6.414 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/1.003, allocations: 35.8 kB / 1.327 GB, free: 6.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004256/1.007, allocations: 3.248 MB / 1.33 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/1.007, allocations: 39.95 kB / 1.33 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/1.008, allocations: 7.328 kB / 1.33 GB, free: 3.367 MB / 1.014 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.0001712/1.008, allocations: 144.1 kB / 1.33 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/1.008, allocations: 17.38 kB / 1.33 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.009, allocations: 371.5 kB / 1.33 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.009, allocations: 2.375 kB / 1.33 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/1.009, allocations: 1.438 kB / 1.33 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.009, allocations: 0.5625 kB / 1.33 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/1.01, allocations: 280.3 kB / 1.331 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.01, allocations: 4.594 kB / 1.331 GB, free: 2.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/1.01, allocations: 28.89 kB / 1.331 GB, free: 2.812 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008829/1.011, allocations: 144.5 kB / 1.331 GB, free: 2.773 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/1.011, allocations: 5.594 kB / 1.331 GB, free: 2.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/1.015, allocations: 3.296 MB / 1.334 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.015, allocations: 2.781 kB / 1.334 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/1.016, allocations: 436.5 kB / 1.334 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/1.016, allocations: 117.3 kB / 1.335 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/1.016, allocations: 1.094 kB / 1.335 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/1.016, allocations: 16.36 kB / 1.335 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/1.017, allocations: 22.38 kB / 1.335 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/1.017, allocations: 6.875 kB / 1.335 GB, free: 15.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001983/1.017, allocations: 164.9 kB / 1.335 GB, free: 15.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.91e-07/1.017, allocations: 0 / 1.335 GB, free: 15.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004645/1.017, allocations: 70.75 kB / 1.335 GB, free: 15.24 MB / 1.029 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.001815/1.019, allocations: 0.9826 MB / 1.336 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001302/1.02, allocations: 445.8 kB / 1.336 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.02, allocations: 0 / 1.336 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007804/1.021, allocations: 354.8 kB / 1.337 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/1.022, allocations: 64.69 kB / 1.337 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/1.027, allocations: 2.523 MB / 1.339 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/1.028, allocations: 0.736 MB / 1.34 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002211/1.028, allocations: 40.31 kB / 1.34 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.028, allocations: 53.61 kB / 1.34 GB, free: 11.41 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/1.028, allocations: 0 / 1.34 GB, free: 11.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/1.058, allocations: 7.3 MB / 1.347 GB, free: 10.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.35, allocations: 1.75 kB / 1.347 GB, free: 10.67 MB / 1.029 GB (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 50 --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) 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) Reference file matches