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.008491/0.008491, allocations: 101 kB / 15.73 MB, free: 6.055 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.001882/0.001882, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.57/2.57, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 59.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7336, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00323/0.7369, allocations: 1.917 MB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1825/0.9194, allocations: 155.4 MB / 1.32 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.9196, allocations: 4 kB / 1.32 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.9198, allocations: 23.73 kB / 1.32 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.9201, allocations: 79.41 kB / 1.32 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.9208, allocations: 260.3 kB / 1.32 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.9212, allocations: 275.1 kB / 1.32 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.9213, allocations: 62.39 kB / 1.32 GB, free: 5.133 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.9228, allocations: 246.4 kB / 1.321 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.9229, allocations: 99.53 kB / 1.321 GB, free: 4.816 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.923, allocations: 16 kB / 1.321 GB, free: 4.801 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.9234, allocations: 179.8 kB / 1.321 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.9234, allocations: 47.83 kB / 1.321 GB, free: 4.578 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.9236, allocations: 91.52 kB / 1.321 GB, free: 4.488 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.9241, allocations: 286.6 kB / 1.321 GB, free: 4.211 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9241, allocations: 4 kB / 1.321 GB, free: 4.207 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9241, allocations: 4 kB / 1.321 GB, free: 4.203 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.9241, allocations: 0 / 1.321 GB, free: 4.203 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.001002/0.9251, allocations: 0.5258 MB / 1.322 GB, free: 3.629 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.9251, allocations: 8.922 kB / 1.322 GB, free: 3.621 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.9252, allocations: 46.55 kB / 1.322 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008403/0.9261, allocations: 87.77 kB / 1.322 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.9264, allocations: 240.3 kB / 1.322 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.9265, allocations: 41.97 kB / 1.322 GB, free: 3.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.9265, allocations: 12 kB / 1.322 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.9271, allocations: 270.5 kB / 1.323 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.9271, allocations: 3.938 kB / 1.323 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.9271, allocations: 4 kB / 1.323 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.9271, allocations: 8 kB / 1.323 GB, free: 2.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.9276, allocations: 171.7 kB / 1.323 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.9294, allocations: 1.181 MB / 1.324 GB, free: 1.414 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/0.9302, allocations: 198.6 kB / 1.324 GB, free: 1.211 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.9304, allocations: 72.81 kB / 1.324 GB, free: 1.137 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.9305, allocations: 4 kB / 1.324 GB, free: 1.133 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.9305, allocations: 34.56 kB / 1.324 GB, free: 1.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.9305, allocations: 0 / 1.324 GB, free: 1.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.00276/0.9333, allocations: 0.6298 MB / 1.325 GB, free: 420 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.9333, allocations: 51.41 kB / 1.325 GB, free: 356 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.9336, allocations: 222.7 kB / 1.325 GB, free: 124 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.9337, allocations: 37.64 kB / 1.325 GB, free: 80 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.9338, allocations: 136.2 kB / 1.325 GB, free: 15.94 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.9339, allocations: 43.67 kB / 1.325 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.934, allocations: 45.64 kB / 1.325 GB, free: 15.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.9343, allocations: 334.8 kB / 1.326 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.9345, allocations: 63.95 kB / 1.326 GB, free: 15.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.9348, allocations: 133.4 kB / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.9352, allocations: 206.7 kB / 1.326 GB, free: 15.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9353, allocations: 0 / 1.326 GB, free: 15.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001491/0.9368, allocations: 376.4 kB / 1.326 GB, free: 14.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9368, allocations: 8.219 kB / 1.326 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.9368, allocations: 4 kB / 1.326 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.9379, allocations: 157.5 kB / 1.327 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.9381, allocations: 39.91 kB / 1.327 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/0.9426, allocations: 3.252 MB / 1.33 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.943, allocations: 43.86 kB / 1.33 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.943, allocations: 15.98 kB / 1.33 GB, free: 10.88 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.0001502/0.9432, allocations: 125.8 kB / 1.33 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.9433, allocations: 16.09 kB / 1.33 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.9447, allocations: 382.5 kB / 1.33 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.9447, allocations: 0 / 1.33 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9447, allocations: 8 kB / 1.33 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9447, allocations: 0 / 1.33 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.9451, allocations: 281.3 kB / 1.331 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.9451, allocations: 4 kB / 1.331 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.9452, allocations: 19.98 kB / 1.331 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008336/0.9461, allocations: 137.6 kB / 1.331 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.9461, allocations: 4 kB / 1.331 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004269/0.9504, allocations: 3.305 MB / 1.334 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9504, allocations: 0 / 1.334 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.9517, allocations: 432.8 kB / 1.334 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.9519, allocations: 116.9 kB / 1.335 GB, free: 5.672 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.9519, allocations: 8 kB / 1.335 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.9522, allocations: 11.98 kB / 1.335 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.9523, allocations: 23.91 kB / 1.335 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.9523, allocations: 4 kB / 1.335 GB, free: 5.625 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002311/0.9526, allocations: 163.1 kB / 1.335 GB, free: 5.465 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9526, allocations: 0 / 1.335 GB, free: 5.465 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004415/0.953, allocations: 71.94 kB / 1.335 GB, free: 5.395 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.001775/0.9548, allocations: 0.9804 MB / 1.336 GB, free: 4.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.9559, allocations: 451.9 kB / 1.336 GB, free: 3.914 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.9559, allocations: 0 / 1.336 GB, free: 3.914 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.9567, allocations: 357.2 kB / 1.337 GB, free: 3.539 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.9571, allocations: 60.25 kB / 1.337 GB, free: 3.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.9624, allocations: 2.529 MB / 1.339 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.9628, allocations: 0.7324 MB / 1.34 GB, free: 68 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.963, allocations: 41.91 kB / 1.34 GB, free: 28 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.9631, allocations: 55.48 kB / 1.34 GB, free: 15.97 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.9631, allocations: 3.938 kB / 1.34 GB, free: 15.96 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/1.001, allocations: 7.296 MB / 1.347 GB, free: 8.859 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/13.01, allocations: 6.5 kB / 1.347 GB, free: 8.855 MB / 1.076 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