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.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.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.001554/0.001554, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001659/0.001659, allocations: 191.7 kB / 16.13 MB, free: 6.695 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.227/2.227, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6141/0.6155, allocations: 140.4 MB / 0.949 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002664/0.6182, allocations: 1.546 MB / 0.9505 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.6193, allocations: 0.8213 MB / 0.9514 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.6194, allocations: 0 / 0.9514 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.6194, allocations: 5.125 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.6195, allocations: 13 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.6199, allocations: 101 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.62, allocations: 60.78 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.6201, allocations: 14.94 kB / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.6202, allocations: 19.55 kB / 0.9516 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.6202, allocations: 18.36 kB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.6203, allocations: 7.703 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.6206, allocations: 173.5 kB / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.6206, allocations: 9 kB / 0.9518 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.6206, allocations: 18.8 kB / 0.9518 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.6209, allocations: 152.6 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6209, allocations: 1.5 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6209, allocations: 0 / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.6209, allocations: 0 / 0.9519 GB, free: 7.023 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.0004712/0.6214, allocations: 399.8 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.6215, allocations: 7.875 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.6215, allocations: 36.09 kB / 0.9523 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.6215, allocations: 12.05 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.6216, allocations: 174.7 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.6216, allocations: 13.89 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.6217, allocations: 3.312 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.6219, allocations: 73.11 kB / 0.9526 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6219, allocations: 7.922 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.6219, allocations: 5.219 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6219, allocations: 1.531 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.6222, allocations: 72.33 kB / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.6225, allocations: 279.6 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.6227, allocations: 57.09 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.6229, allocations: 43.53 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.623, allocations: 89.44 kB / 0.9531 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.6231, allocations: 35.41 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.6231, allocations: 0 / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004965/0.6236, allocations: 132.2 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.6236, allocations: 51.41 kB / 0.9533 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.6237, allocations: 120.3 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.6237, allocations: 25.7 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.6237, allocations: 87.52 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.6238, allocations: 13.09 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.6238, allocations: 15.75 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.6238, allocations: 325 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.624, allocations: 29.69 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.6241, allocations: 32.98 kB / 0.954 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.6244, allocations: 76.75 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6244, allocations: 0 / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002899/0.6247, allocations: 97.44 kB / 0.9541 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6247, allocations: 6.062 kB / 0.9541 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.6247, allocations: 0 / 0.9541 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6247, allocations: 4 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.6248, allocations: 14.98 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.6248, allocations: 0 / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.6249, allocations: 15.19 kB / 0.9542 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.6249, allocations: 1.188 kB / 0.9542 GB, free: 4.855 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 5.324e-05/0.625, allocations: 124.2 kB / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.625, allocations: 6.781 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.6253, allocations: 108.5 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6254, allocations: 1.438 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6254, allocations: 3.938 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.6254, allocations: 0 / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.6255, allocations: 174.9 kB / 0.9546 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6255, allocations: 384 / 0.9546 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.6256, allocations: 14.98 kB / 0.9546 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.6256, allocations: 4 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.6256, allocations: 1.281 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6256, allocations: 0 / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6256, allocations: 0 / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.6259, allocations: 206 kB / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.626, allocations: 86.05 kB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.626, allocations: 1.25 kB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.886e-05/0.6261, allocations: 14.77 kB / 0.9549 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.6261, allocations: 5.078 kB / 0.9549 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.6261, allocations: 1.125 kB / 0.9549 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.6262, allocations: 96.44 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6262, allocations: 1.188 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002754/0.6265, allocations: 33.97 kB / 0.955 GB, free: 4.031 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.0005691/0.627, allocations: 0.7675 MB / 0.9558 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.6273, allocations: 70.8 kB / 0.9558 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6274, allocations: 0 / 0.9558 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.6275, allocations: 36.8 kB / 0.9559 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.6278, allocations: 10.84 kB / 0.9559 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.6293, allocations: 1.427 MB / 0.9573 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.6294, allocations: 0.6851 MB / 0.9579 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.6295, allocations: 2.781 kB / 0.9579 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.6295, allocations: 17.81 kB / 0.958 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6295, allocations: 0 / 0.958 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.642, allocations: 2.178 MB / 0.9601 GB, free: 116 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.6422, allocations: 197.3 kB / 0.9603 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.325, allocations: 0 / 0.9603 GB, free: 15.86 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