Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_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.0008394/0.0008397, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005021/0.005021, allocations: 171.3 kB / 16.26 MB, free: 6.676 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.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.087/2.087, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002905, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5355, allocations: 142.4 MB / 0.9552 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001043/0.5366, allocations: 0.9969 MB / 0.9561 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.5376, allocations: 0.8363 MB / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.287e-05/0.5377, allocations: 0 / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.5377, allocations: 1.219 kB / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.59e-05/0.5377, allocations: 11.92 kB / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.5381, allocations: 107.3 kB / 0.9571 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.5381, allocations: 24.77 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.5382, allocations: 1.062 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.5382, allocations: 18.31 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.5383, allocations: 12.41 kB / 0.9571 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.5383, allocations: 1.062 kB / 0.9571 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.5385, allocations: 172.3 kB / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.5386, allocations: 13.06 kB / 0.9573 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.5386, allocations: 34.17 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.5388, allocations: 117.4 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.5388, allocations: 1.25 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5388, allocations: 0 / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.5388, allocations: 0 / 0.9574 GB, free: 5.891 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000275/0.5391, allocations: 357.3 kB / 0.9578 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.5391, allocations: 8.844 kB / 0.9578 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.299e-05/0.5392, allocations: 40.09 kB / 0.9578 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.5392, allocations: 3.75 kB / 0.9578 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.724e-05/0.5392, allocations: 173.6 kB / 0.958 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.5393, allocations: 28.98 kB / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.5393, allocations: 1.594 kB / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.5394, allocations: 50.83 kB / 0.9581 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-06/0.5394, allocations: 0 / 0.9581 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.5394, allocations: 7.984 kB / 0.9581 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5395, allocations: 1.062 kB / 0.9581 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/0.5395, allocations: 17.95 kB / 0.9581 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.748e-05/0.5397, allocations: 162.8 kB / 0.9583 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.5398, allocations: 46.31 kB / 0.9583 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.5399, allocations: 15.17 kB / 0.9583 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.5401, allocations: 181.8 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.5401, allocations: 39.86 kB / 0.9585 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5401, allocations: 0 / 0.9585 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001985/0.5403, allocations: 68.84 kB / 0.9586 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.5404, allocations: 57.36 kB / 0.9587 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.375e-05/0.5404, allocations: 97.67 kB / 0.9587 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.5404, allocations: 25.7 kB / 0.9588 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-06/0.5404, allocations: 88.08 kB / 0.9589 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5404, allocations: 9.812 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.5405, allocations: 11.59 kB / 0.9589 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.223e-05/0.5405, allocations: 314.8 kB / 0.9592 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.5405, allocations: 9.625 kB / 0.9592 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.5406, allocations: 10.08 kB / 0.9592 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.014e-05/0.5407, allocations: 30.03 kB / 0.9592 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5407, allocations: 4 kB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.5408, allocations: 55.5 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.5408, allocations: 9.906 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.5408, allocations: 0 / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/0.5408, allocations: 0 / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.5409, allocations: 15.3 kB / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.5409, allocations: 0 / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.5409, allocations: 1.5 kB / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.5409, allocations: 0.9375 kB / 0.9593 GB, free: 3.898 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 (4): * Single equations (assignments): 4 * 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 3.967e-05/0.541, allocations: 116.4 kB / 0.9594 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.541, allocations: 5.281 kB / 0.9594 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.5411, allocations: 67.78 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5412, allocations: 1.188 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.5412, allocations: 0 / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5412, allocations: 3.984 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.279e-05/0.5412, allocations: 155.8 kB / 0.9596 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5412, allocations: 0 / 0.9596 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.5413, allocations: 11.03 kB / 0.9596 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5413, allocations: 11.97 kB / 0.9597 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.5413, allocations: 5.375 kB / 0.9597 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5413, allocations: 0 / 0.9597 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5413, allocations: 0 / 0.9597 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.5414, allocations: 84.08 kB / 0.9597 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.5415, allocations: 87.77 kB / 0.9598 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.5415, allocations: 5.484 kB / 0.9598 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.445e-05/0.5415, allocations: 9.594 kB / 0.9598 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.5416, allocations: 1.656 kB / 0.9598 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.5416, allocations: 1.281 kB / 0.9598 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.765e-05/0.5416, allocations: 85.8 kB / 0.9599 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5416, allocations: 0 / 0.9599 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002021/0.5418, allocations: 30.78 kB / 0.96 GB, free: 3.211 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 (4): * Single equations (assignments): 4 * 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.0003349/0.5421, allocations: 0.6692 MB / 0.9606 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.5423, allocations: 24.83 kB / 0.9606 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5423, allocations: 0 / 0.9606 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.5423, allocations: 14.09 kB / 0.9606 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.5425, allocations: 10.73 kB / 0.9607 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.5428, allocations: 186.5 kB / 0.9608 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.815e-05/0.5429, allocations: 0.6772 MB / 0.9615 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.5429, allocations: 6.75 kB / 0.9615 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.543, allocations: 14.19 kB / 0.9615 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.543, allocations: 0 / 0.9615 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.5667, allocations: 1.722 MB / 0.9632 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.5669, allocations: 219.9 kB / 0.9634 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.092, allocations: 0 / 0.9634 GB, free: 0.5625 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches