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.0009549/0.0009546, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00101/0.00101, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.094/2.094, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.5231, allocations: 140.4 MB / 0.9492 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001944/0.5251, allocations: 1.546 MB / 0.9507 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008094/0.5259, allocations: 0.8049 MB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.5259, allocations: 0 / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.526, allocations: 1.375 kB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.526, allocations: 17.23 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.5264, allocations: 109.7 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.5265, allocations: 53.88 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.5265, allocations: 14.27 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.5266, allocations: 23.45 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.5266, allocations: 24.02 kB / 0.9518 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.5266, allocations: 3.719 kB / 0.9518 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.5269, allocations: 183.9 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.5269, allocations: 13.44 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.527, allocations: 21.11 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.5272, allocations: 150.9 kB / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5272, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5272, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.5272, allocations: 1.312 kB / 0.9521 GB, free: 6.988 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.0004184/0.5276, allocations: 400.3 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.5277, allocations: 9.656 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.313e-05/0.5277, allocations: 39.98 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.5277, allocations: 11.2 kB / 0.9525 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.703e-05/0.5278, allocations: 168.8 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.5278, allocations: 4.312 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.5278, allocations: 6.719 kB / 0.9527 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.528, allocations: 79.2 kB / 0.9528 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.528, allocations: 3.938 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.5281, allocations: 4 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5281, allocations: 1.281 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.5283, allocations: 69.58 kB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.5286, allocations: 287.4 kB / 0.9531 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.5288, allocations: 56.22 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.5289, allocations: 39.34 kB / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.5291, allocations: 89.66 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.5291, allocations: 39.81 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.5291, allocations: 0 / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004777/0.5296, allocations: 130.8 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.5296, allocations: 56.78 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/0.5297, allocations: 116 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.5297, allocations: 29.7 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.5297, allocations: 86.39 kB / 0.9538 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.5298, allocations: 9.094 kB / 0.9538 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.5298, allocations: 16.31 kB / 0.9538 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.5298, allocations: 321.2 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.53, allocations: 33.06 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.5301, allocations: 33.7 kB / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.5303, allocations: 67.53 kB / 0.9542 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.5303, allocations: 0 / 0.9542 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002717/0.5306, allocations: 107.1 kB / 0.9543 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.5306, allocations: 5.5 kB / 0.9543 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5306, allocations: 3.938 kB / 0.9543 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5307, allocations: 0 / 0.9543 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5308, allocations: 15.2 kB / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.5308, allocations: 0 / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/0.5309, allocations: 18.41 kB / 0.9544 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5309, allocations: 5.469 kB / 0.9544 GB, free: 4.812 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.463e-05/0.5309, allocations: 116.5 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.5309, allocations: 6.812 kB / 0.9545 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.5313, allocations: 108.9 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5313, allocations: 4.031 kB / 0.9546 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5313, allocations: 5.469 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5313, allocations: 0 / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.5314, allocations: 174.5 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5314, allocations: 0 / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.669e-05/0.5315, allocations: 15.05 kB / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5315, allocations: 0 / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.5315, allocations: 1.531 kB / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5315, allocations: 0 / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5315, allocations: 0 / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.5318, allocations: 201.4 kB / 0.955 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.5318, allocations: 82.45 kB / 0.9551 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.5319, allocations: 1.438 kB / 0.9551 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.763e-05/0.532, allocations: 10.77 kB / 0.9551 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.532, allocations: 9.828 kB / 0.9551 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.532, allocations: 11.94 kB / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.5321, allocations: 92.36 kB / 0.9552 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5321, allocations: 1.375 kB / 0.9552 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002444/0.5323, allocations: 30.5 kB / 0.9552 GB, free: 4 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.0004969/0.5328, allocations: 0.7587 MB / 0.9559 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.5331, allocations: 74.98 kB / 0.956 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5331, allocations: 0.9688 kB / 0.956 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.5333, allocations: 40.02 kB / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.5335, allocations: 7.719 kB / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.5349, allocations: 1.427 MB / 0.9575 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.245e-05/0.535, allocations: 0.6885 MB / 0.9581 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.535, allocations: 6.75 kB / 0.9581 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.5351, allocations: 18.16 kB / 0.9582 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5351, allocations: 0 / 0.9582 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.5501, allocations: 2.231 MB / 0.9603 GB, free: 64 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.5503, allocations: 201.5 kB / 0.9605 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.061, allocations: 0 / 0.9605 GB, free: 15.81 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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