Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_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.009341/0.009341, allocations: 101.2 kB / 15.73 MB, free: 5.523 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.00197/0.00197, allocations: 192.1 kB / 16.67 MB, free: 5.461 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.819/2.819, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 60.12 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.313, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003932/0.317, allocations: 1.925 MB / 1.209 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8921/1.209, allocations: 155.4 MB / 1.361 GB, free: 8.324 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/1.209, allocations: 6.656 kB / 1.361 GB, free: 8.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/1.21, allocations: 24.52 kB / 1.361 GB, free: 8.301 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004344/1.21, allocations: 75.88 kB / 1.361 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008822/1.211, allocations: 261 kB / 1.361 GB, free: 8.121 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005362/1.212, allocations: 271.4 kB / 1.362 GB, free: 7.992 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/1.212, allocations: 73.62 kB / 1.362 GB, free: 7.957 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/1.213, allocations: 251.2 kB / 1.362 GB, free: 7.875 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/1.213, allocations: 91.12 kB / 1.362 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/1.213, allocations: 14.41 kB / 1.362 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/1.214, allocations: 187.7 kB / 1.362 GB, free: 7.785 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/1.214, allocations: 44.5 kB / 1.362 GB, free: 7.758 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/1.214, allocations: 92.38 kB / 1.362 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004841/1.215, allocations: 279.9 kB / 1.363 GB, free: 7.605 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.215, allocations: 0 / 1.363 GB, free: 7.605 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/1.215, allocations: 0 / 1.363 GB, free: 7.605 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.215, allocations: 0 / 1.363 GB, free: 7.605 MB / 1.061 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.001118/1.216, allocations: 0.5338 MB / 1.363 GB, free: 7.145 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.216, allocations: 10.06 kB / 1.363 GB, free: 7.145 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.165e-05/1.216, allocations: 48.78 kB / 1.363 GB, free: 7.098 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009328/1.217, allocations: 90.27 kB / 1.363 GB, free: 7.078 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/1.217, allocations: 224.7 kB / 1.363 GB, free: 6.855 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-05/1.217, allocations: 41.88 kB / 1.363 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/1.217, allocations: 14.22 kB / 1.363 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/1.218, allocations: 270.3 kB / 1.364 GB, free: 6.652 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.218, allocations: 1.156 kB / 1.364 GB, free: 6.652 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/1.218, allocations: 6.75 kB / 1.364 GB, free: 6.648 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/1.218, allocations: 3.469 kB / 1.364 GB, free: 6.648 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/1.218, allocations: 172 kB / 1.364 GB, free: 6.594 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/1.22, allocations: 1.187 MB / 1.365 GB, free: 5.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008679/1.221, allocations: 203.1 kB / 1.365 GB, free: 5.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/1.221, allocations: 73.86 kB / 1.365 GB, free: 5.488 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/1.221, allocations: 1.344 kB / 1.365 GB, free: 5.488 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/1.222, allocations: 31.66 kB / 1.365 GB, free: 5.449 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/1.222, allocations: 5.5 kB / 1.365 GB, free: 5.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.002888/1.224, allocations: 0.6261 MB / 1.366 GB, free: 5.117 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/1.224, allocations: 56.47 kB / 1.366 GB, free: 5.051 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/1.225, allocations: 211 kB / 1.366 GB, free: 4.922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/1.225, allocations: 31.11 kB / 1.366 GB, free: 4.887 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/1.225, allocations: 140.5 kB / 1.366 GB, free: 4.758 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/1.225, allocations: 41.48 kB / 1.366 GB, free: 4.727 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.225, allocations: 50.33 kB / 1.366 GB, free: 4.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.225, allocations: 326.9 kB / 1.367 GB, free: 4.375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/1.225, allocations: 73.31 kB / 1.367 GB, free: 4.352 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/1.226, allocations: 128.6 kB / 1.367 GB, free: 4.262 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/1.226, allocations: 216 kB / 1.367 GB, free: 4.125 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/1.226, allocations: 1.188 kB / 1.367 GB, free: 4.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001538/1.228, allocations: 368.6 kB / 1.368 GB, free: 3.988 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.228, allocations: 6.75 kB / 1.368 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.228, allocations: 1.25 kB / 1.368 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/1.229, allocations: 165.7 kB / 1.368 GB, free: 3.949 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/1.229, allocations: 36.38 kB / 1.368 GB, free: 3.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004142/1.233, allocations: 3.247 MB / 1.371 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/1.234, allocations: 34.36 kB / 1.371 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/1.234, allocations: 9.656 kB / 1.371 GB, free: 0.9141 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.0001538/1.234, allocations: 135.4 kB / 1.371 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/1.234, allocations: 17.91 kB / 1.371 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/1.236, allocations: 371.3 kB / 1.371 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.236, allocations: 6.656 kB / 1.371 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/1.236, allocations: 0 / 1.371 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.236, allocations: 3.984 kB / 1.371 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/1.236, allocations: 292.9 kB / 1.372 GB, free: 372 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/1.236, allocations: 0 / 1.372 GB, free: 372 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/1.236, allocations: 21.58 kB / 1.372 GB, free: 372 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008638/1.237, allocations: 140.6 kB / 1.372 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/1.237, allocations: 9.125 kB / 1.372 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/1.241, allocations: 3.304 MB / 1.375 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.241, allocations: 0 / 1.375 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/1.242, allocations: 433.5 kB / 1.376 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/1.242, allocations: 113.6 kB / 1.376 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/1.242, allocations: 7.938 kB / 1.376 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/1.243, allocations: 15.89 kB / 1.376 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/1.243, allocations: 16.16 kB / 1.376 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/1.243, allocations: 7.938 kB / 1.376 GB, free: 12.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001907/1.243, allocations: 162.8 kB / 1.376 GB, free: 12.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.4e-07/1.243, allocations: 0 / 1.376 GB, free: 12.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004555/1.244, allocations: 78.16 kB / 1.376 GB, free: 12.78 MB / 1.076 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.001686/1.245, allocations: 0.971 MB / 1.377 GB, free: 12.01 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.246, allocations: 439.8 kB / 1.377 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.246, allocations: 0.75 kB / 1.377 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007214/1.247, allocations: 364.2 kB / 1.378 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/1.248, allocations: 60.27 kB / 1.378 GB, free: 11.44 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/1.253, allocations: 2.528 MB / 1.38 GB, free: 9.547 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/1.253, allocations: 0.7316 MB / 1.381 GB, free: 8.828 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001964/1.254, allocations: 37.66 kB / 1.381 GB, free: 8.809 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/1.254, allocations: 59.23 kB / 1.381 GB, free: 8.762 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/1.254, allocations: 4 kB / 1.381 GB, free: 8.758 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/1.289, allocations: 7.452 MB / 1.388 GB, free: 4.984 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.84, allocations: 8.156 kB / 1.388 GB, free: 4.98 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches