Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",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.001584/0.001584, allocations: 108 kB / 15.61 MB, free: 152 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.001765/0.001765, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.283/2.283, allocations: 390.2 MB / 0.6647 GB, free: 500 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 59.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.5295, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002205/0.5317, allocations: 1.485 MB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009328/0.5327, allocations: 0.8006 MB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.5327, allocations: 1.219 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.5327, allocations: 3.938 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.582e-05/0.5328, allocations: 14.64 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.5332, allocations: 125.7 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.5333, allocations: 57.86 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.5334, allocations: 18.2 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.5334, allocations: 23.75 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.5334, allocations: 22.39 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.5335, allocations: 8.938 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.5338, allocations: 165.3 kB / 0.9524 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.5338, allocations: 17.25 kB / 0.9524 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.5338, allocations: 21.22 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.534, allocations: 145.7 kB / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.534, allocations: 0 / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5341, allocations: 1.031 kB / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.5341, allocations: 4 kB / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004142/0.5345, allocations: 400.6 kB / 0.9529 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.5345, allocations: 10.78 kB / 0.9529 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.162e-05/0.5346, allocations: 30.75 kB / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.5346, allocations: 12.03 kB / 0.953 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.585e-05/0.5347, allocations: 171.5 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.5347, allocations: 5.672 kB / 0.9531 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.5347, allocations: 9.719 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.5349, allocations: 70.5 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.5349, allocations: 3.938 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.5349, allocations: 5.359 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.5349, allocations: 0 / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.5352, allocations: 73.86 kB / 0.9533 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.5355, allocations: 283 kB / 0.9536 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.5357, allocations: 57 kB / 0.9536 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.5358, allocations: 40.7 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.536, allocations: 92.56 kB / 0.9538 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.536, allocations: 32 kB / 0.9538 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.536, allocations: 0 / 0.9538 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000497/0.5365, allocations: 134.9 kB / 0.9539 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.5365, allocations: 52.59 kB / 0.954 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.5366, allocations: 116.2 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.5366, allocations: 25.7 kB / 0.9541 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.174e-05/0.5367, allocations: 90.5 kB / 0.9542 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.5367, allocations: 13.28 kB / 0.9542 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.5367, allocations: 12.62 kB / 0.9542 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.5367, allocations: 324 kB / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5369, allocations: 34.17 kB / 0.9546 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.537, allocations: 33.75 kB / 0.9546 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.5373, allocations: 71.03 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5373, allocations: 0 / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000294/0.5376, allocations: 102.3 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.5376, allocations: 5.375 kB / 0.9548 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5376, allocations: 3.984 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.5377, allocations: 1.375 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.5378, allocations: 17.7 kB / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5378, allocations: 1.25 kB / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.5379, allocations: 14.39 kB / 0.9548 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5379, allocations: 1.344 kB / 0.9548 GB, free: 4.816 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.5379, allocations: 119.2 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.538, allocations: 6.625 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.5383, allocations: 114.2 kB / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5383, allocations: 0 / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5383, allocations: 0 / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5383, allocations: 5 kB / 0.955 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.5384, allocations: 174.8 kB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5384, allocations: 0 / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.161e-05/0.5385, allocations: 18.22 kB / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5385, allocations: 1.031 kB / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.5386, allocations: 1.281 kB / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5386, allocations: 4 kB / 0.9552 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5386, allocations: 0 / 0.9552 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.5389, allocations: 201.2 kB / 0.9554 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.5389, allocations: 86.94 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.5389, allocations: 0.875 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.539, allocations: 15.08 kB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.5391, allocations: 1.25 kB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.5391, allocations: 1.156 kB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.5391, allocations: 95.98 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5391, allocations: 1.344 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002516/0.5394, allocations: 33.92 kB / 0.9556 GB, free: 3.996 MB / 0.7169 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005294/0.5399, allocations: 0.761 MB / 0.9564 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.5403, allocations: 75.67 kB / 0.9564 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5403, allocations: 0 / 0.9564 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.5404, allocations: 32.88 kB / 0.9565 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.5407, allocations: 18.17 kB / 0.9565 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.5421, allocations: 1.427 MB / 0.9579 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.98e-05/0.5422, allocations: 0.6875 MB / 0.9586 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.5422, allocations: 7.484 kB / 0.9586 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.5422, allocations: 19.02 kB / 0.9586 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5423, allocations: 0 / 0.9586 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1928/0.735, allocations: 2.409 MB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/9.149, allocations: 1.219 kB / 0.9609 GB, free: 15.89 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches