Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 103.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 3.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MassFraction_pTphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 1.056 GB, free: 2.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3173, allocations: 160.7 MB / 1.213 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00334/0.3207, allocations: 1.652 MB / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8949/1.216, allocations: 152 MB / 1.363 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/1.216, allocations: 1.094 kB / 1.363 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/1.216, allocations: 16.47 kB / 1.363 GB, free: 5.395 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002851/1.216, allocations: 47.36 kB / 1.363 GB, free: 5.363 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/1.217, allocations: 140.8 kB / 1.363 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000234/1.217, allocations: 128 kB / 1.363 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/1.217, allocations: 20.98 kB / 1.363 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/1.219, allocations: 180.1 kB / 1.363 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/1.219, allocations: 40.52 kB / 1.363 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/1.219, allocations: 7.531 kB / 1.364 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/1.219, allocations: 181.8 kB / 1.364 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/1.219, allocations: 21.2 kB / 1.364 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/1.219, allocations: 43.89 kB / 1.364 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/1.22, allocations: 198.5 kB / 1.364 GB, free: 4.984 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.22, allocations: 4.938 kB / 1.364 GB, free: 4.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/1.22, allocations: 0 / 1.364 GB, free: 4.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.22, allocations: 0 / 1.364 GB, free: 4.98 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006776/1.22, allocations: 448.3 kB / 1.364 GB, free: 4.562 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.22, allocations: 9.531 kB / 1.364 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/1.22, allocations: 39.72 kB / 1.364 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/1.221, allocations: 81.41 kB / 1.364 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/1.221, allocations: 211.3 kB / 1.365 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/1.222, allocations: 3.188 kB / 1.365 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/1.222, allocations: 9.375 kB / 1.365 GB, free: 4.281 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/1.222, allocations: 134.8 kB / 1.365 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.222, allocations: 2.875 kB / 1.365 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/1.222, allocations: 4 kB / 1.365 GB, free: 4.223 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.222, allocations: 5.312 kB / 1.365 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/1.223, allocations: 136.9 kB / 1.365 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/1.223, allocations: 416.8 kB / 1.365 GB, free: 3.852 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/1.224, allocations: 248.2 kB / 1.366 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/1.224, allocations: 72.22 kB / 1.366 GB, free: 3.672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/1.224, allocations: 1.844 kB / 1.366 GB, free: 3.672 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.224, allocations: 31.84 kB / 1.366 GB, free: 3.633 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/1.224, allocations: 4 kB / 1.366 GB, free: 3.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007552/1.225, allocations: 211.6 kB / 1.366 GB, free: 3.559 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.225, allocations: 64.66 kB / 1.366 GB, free: 3.484 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/1.225, allocations: 147.1 kB / 1.366 GB, free: 3.375 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/1.225, allocations: 25.7 kB / 1.366 GB, free: 3.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/1.225, allocations: 107.2 kB / 1.366 GB, free: 3.242 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/1.225, allocations: 28.31 kB / 1.366 GB, free: 3.219 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/1.225, allocations: 23.14 kB / 1.366 GB, free: 3.199 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.226, allocations: 326.5 kB / 1.367 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.226, allocations: 54.47 kB / 1.367 GB, free: 2.867 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/1.226, allocations: 76 kB / 1.367 GB, free: 2.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/1.226, allocations: 120.6 kB / 1.367 GB, free: 2.797 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.226, allocations: 3.938 kB / 1.367 GB, free: 2.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004725/1.227, allocations: 167.8 kB / 1.367 GB, free: 2.727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.227, allocations: 4.75 kB / 1.367 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.227, allocations: 3.938 kB / 1.367 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.227, allocations: 1.531 kB / 1.367 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/1.227, allocations: 26.31 kB / 1.367 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.227, allocations: 0 / 1.367 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/1.227, allocations: 28.05 kB / 1.367 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/1.227, allocations: 1.562 kB / 1.367 GB, free: 2.711 MB / 1.045 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 (8): * Single equations (assignments): 8 * 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 0.000114/1.228, allocations: 125.7 kB / 1.367 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/1.228, allocations: 8.703 kB / 1.367 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/1.228, allocations: 18.88 kB / 1.367 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/1.228, allocations: 1.156 kB / 1.367 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/1.228, allocations: 0 / 1.367 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.228, allocations: 3.984 kB / 1.367 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008266/1.228, allocations: 469.6 kB / 1.368 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.228, allocations: 1.125 kB / 1.368 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/1.229, allocations: 31.89 kB / 1.368 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.229, allocations: 4 kB / 1.368 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.229, allocations: 3.766 kB / 1.368 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.229, allocations: 3.938 kB / 1.368 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.229, allocations: 0 / 1.368 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/1.229, allocations: 260.1 kB / 1.368 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/1.229, allocations: 90.16 kB / 1.368 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/1.229, allocations: 5.375 kB / 1.368 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/1.229, allocations: 17.48 kB / 1.368 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/1.23, allocations: 9.109 kB / 1.368 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/1.23, allocations: 3.859 kB / 1.368 GB, free: 1.914 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.091e-05/1.23, allocations: 109 kB / 1.368 GB, free: 1.832 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.23, allocations: 0 / 1.368 GB, free: 1.832 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002995/1.23, allocations: 39.61 kB / 1.368 GB, free: 1.816 MB / 1.045 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 (8): * Single equations (assignments): 8 * 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.001076/1.231, allocations: 0.8008 MB / 1.369 GB, free: 1.121 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005424/1.232, allocations: 121.4 kB / 1.369 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.232, allocations: 0 / 1.369 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/1.232, allocations: 72.25 kB / 1.369 GB, free: 1.078 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/1.232, allocations: 34.38 kB / 1.369 GB, free: 1.062 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/1.235, allocations: 1.739 MB / 1.371 GB, free: 15.72 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/1.236, allocations: 0.7027 MB / 1.372 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001467/1.236, allocations: 30.98 kB / 1.372 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/1.236, allocations: 30.11 kB / 1.372 GB, free: 14.99 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.236, allocations: 0 / 1.372 GB, free: 14.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/1.261, allocations: 3.383 MB / 1.375 GB, free: 14.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/9.637, allocations: 10.67 kB / 1.375 GB, free: 14.52 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.77229579584673]