Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_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.001432/0.001432, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6647 GB, free: 312 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 67.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5702, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002742/0.573, allocations: 1.918 MB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1552/0.7282, allocations: 155.4 MB / 1.103 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.7284, allocations: 4 kB / 1.103 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.7286, allocations: 23.67 kB / 1.103 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.7289, allocations: 79.41 kB / 1.103 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.7296, allocations: 255.2 kB / 1.104 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.7298, allocations: 267.1 kB / 1.104 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.73, allocations: 64.66 kB / 1.104 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.7311, allocations: 253.8 kB / 1.104 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.7313, allocations: 95.59 kB / 1.104 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.7313, allocations: 12 kB / 1.104 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.7317, allocations: 179.7 kB / 1.105 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.107e-05/0.7317, allocations: 43.89 kB / 1.105 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.7318, allocations: 95.52 kB / 1.105 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.7322, allocations: 279.2 kB / 1.105 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7322, allocations: 0 / 1.105 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7322, allocations: 4 kB / 1.105 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7322, allocations: 4 kB / 1.105 GB, free: 2.297 MB / 0.8575 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.00091/0.7332, allocations: 0.5184 MB / 1.105 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.7332, allocations: 8.031 kB / 1.105 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.7333, allocations: 50.55 kB / 1.106 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008331/0.7341, allocations: 83.62 kB / 1.106 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.7344, allocations: 239.7 kB / 1.106 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.7345, allocations: 34.03 kB / 1.106 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.7345, allocations: 20 kB / 1.106 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.735, allocations: 270.5 kB / 1.106 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.735, allocations: 3.938 kB / 1.106 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.7351, allocations: 4 kB / 1.106 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.7351, allocations: 7.938 kB / 1.106 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.7355, allocations: 167.8 kB / 1.106 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.7371, allocations: 1.181 MB / 1.107 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007165/0.7379, allocations: 206.6 kB / 1.108 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.7381, allocations: 72.81 kB / 1.108 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.7381, allocations: 4 kB / 1.108 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.7381, allocations: 30.56 kB / 1.108 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.7381, allocations: 0 / 1.108 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.002644/0.7408, allocations: 0.63 MB / 1.108 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.7408, allocations: 51.41 kB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.7411, allocations: 218.9 kB / 1.109 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.7411, allocations: 29.7 kB / 1.109 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.7412, allocations: 136 kB / 1.109 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.7413, allocations: 51.28 kB / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.7414, allocations: 41.69 kB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.7415, allocations: 330.8 kB / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.7417, allocations: 71.94 kB / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.742, allocations: 132.4 kB / 1.109 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.7425, allocations: 202.7 kB / 1.11 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.7425, allocations: 4 kB / 1.11 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001406/0.7439, allocations: 366.9 kB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.7439, allocations: 12.03 kB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7439, allocations: 3.984 kB / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.745, allocations: 157.5 kB / 1.11 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.7452, allocations: 43.91 kB / 1.11 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003898/0.7491, allocations: 3.251 MB / 1.113 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.7495, allocations: 39.64 kB / 1.113 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.7495, allocations: 15.98 kB / 1.113 GB, free: 8.988 MB / 0.8731 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.0001487/0.7496, allocations: 129.8 kB / 1.113 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.7497, allocations: 15.81 kB / 1.114 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.751, allocations: 369.9 kB / 1.114 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7511, allocations: 3.938 kB / 1.114 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7511, allocations: 7.984 kB / 1.114 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7511, allocations: 0 / 1.114 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.7514, allocations: 281.3 kB / 1.114 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.7514, allocations: 0 / 1.114 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.7516, allocations: 27.97 kB / 1.114 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008442/0.7524, allocations: 145.6 kB / 1.114 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.7524, allocations: 4 kB / 1.114 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/0.7561, allocations: 3.297 MB / 1.118 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7561, allocations: 0 / 1.118 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.7574, allocations: 434.1 kB / 1.118 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.7575, allocations: 112.7 kB / 1.118 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.7575, allocations: 8 kB / 1.118 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.7578, allocations: 11.98 kB / 1.118 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.7579, allocations: 23.97 kB / 1.118 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.7579, allocations: 8 kB / 1.118 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001788/0.7581, allocations: 159.2 kB / 1.118 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7581, allocations: 0 / 1.118 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004191/0.7586, allocations: 71.94 kB / 1.118 GB, free: 3.508 MB / 0.8731 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.001618/0.7602, allocations: 0.9809 MB / 1.119 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.7612, allocations: 445.3 kB / 1.12 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7613, allocations: 0 / 1.12 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006793/0.7619, allocations: 365.3 kB / 1.12 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.7624, allocations: 63.89 kB / 1.12 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.7674, allocations: 2.52 MB / 1.123 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.7677, allocations: 0.7361 MB / 1.123 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.7679, allocations: 41.88 kB / 1.123 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.768, allocations: 51.41 kB / 1.123 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of SimCode: time 2.71e-07/0.768, allocations: 0 / 1.123 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0461/0.8141, allocations: 7.187 MB / 1.13 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.27, allocations: 16.52 kB / 1.13 GB, free: 7.078 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches