Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002475/0.002475, allocations: 214.2 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.358/3.358, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 65.22 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4167, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003748/0.4205, allocations: 1.676 MB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2039/0.6244, allocations: 154.9 MB / 1.479 GB, free: 4.758 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.6246, allocations: 0 / 1.479 GB, free: 4.758 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.6248, allocations: 23.8 kB / 1.479 GB, free: 4.734 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.6252, allocations: 39.7 kB / 1.479 GB, free: 4.695 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.6258, allocations: 151.3 kB / 1.479 GB, free: 4.547 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.6261, allocations: 123.6 kB / 1.479 GB, free: 4.426 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.6263, allocations: 25.52 kB / 1.479 GB, free: 4.395 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.628, allocations: 180.6 kB / 1.479 GB, free: 4.242 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 9.765e-05/0.6281, allocations: 43.78 kB / 1.479 GB, free: 4.199 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.6281, allocations: 8 kB / 1.479 GB, free: 4.191 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004659/0.6285, allocations: 191.7 kB / 1.48 GB, free: 4.004 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.6286, allocations: 19.92 kB / 1.48 GB, free: 3.984 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.888e-05/0.6287, allocations: 43.75 kB / 1.48 GB, free: 3.941 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.6292, allocations: 199.3 kB / 1.48 GB, free: 3.746 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6292, allocations: 4 kB / 1.48 GB, free: 3.742 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6292, allocations: 0 / 1.48 GB, free: 3.742 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.6292, allocations: 0 / 1.48 GB, free: 3.742 MB / 1.17 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.0007462/0.6299, allocations: 373.5 kB / 1.48 GB, free: 3.348 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.63, allocations: 8.031 kB / 1.48 GB, free: 3.34 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.63, allocations: 42.73 kB / 1.48 GB, free: 3.289 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.631, allocations: 91.75 kB / 1.48 GB, free: 3.199 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.6313, allocations: 153 kB / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.6313, allocations: 8 kB / 1.48 GB, free: 3.016 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.6314, allocations: 8 kB / 1.48 GB, free: 3.008 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.6319, allocations: 133.6 kB / 1.481 GB, free: 2.871 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6319, allocations: 0 / 1.481 GB, free: 2.871 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.6319, allocations: 3.938 kB / 1.481 GB, free: 2.867 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.6319, allocations: 0 / 1.481 GB, free: 2.867 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/0.6324, allocations: 139.9 kB / 1.481 GB, free: 2.73 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009244/0.6334, allocations: 395.4 kB / 1.481 GB, free: 2.301 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.6341, allocations: 170.6 kB / 1.481 GB, free: 2.125 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.6343, allocations: 72.73 kB / 1.481 GB, free: 2.051 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.6343, allocations: 0 / 1.481 GB, free: 2.051 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.6344, allocations: 38.56 kB / 1.481 GB, free: 2.004 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.6344, allocations: 0 / 1.481 GB, free: 2.004 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0007942/0.6351, allocations: 209.5 kB / 1.482 GB, free: 1.793 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.6352, allocations: 55.41 kB / 1.482 GB, free: 1.727 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.6353, allocations: 148.3 kB / 1.482 GB, free: 1.574 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.6354, allocations: 25.7 kB / 1.482 GB, free: 1.543 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.6354, allocations: 100.1 kB / 1.482 GB, free: 1.441 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.6355, allocations: 35.86 kB / 1.482 GB, free: 1.406 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.6355, allocations: 25.7 kB / 1.482 GB, free: 1.375 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6357, allocations: 326.8 kB / 1.482 GB, free: 1.047 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.6359, allocations: 63.83 kB / 1.482 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.6362, allocations: 74.83 kB / 1.482 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.6366, allocations: 124.9 kB / 1.483 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6366, allocations: 0 / 1.483 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004991/0.6371, allocations: 157.5 kB / 1.483 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6371, allocations: 6.031 kB / 1.483 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6371, allocations: 0 / 1.483 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6371, allocations: 0 / 1.483 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.6373, allocations: 35.89 kB / 1.483 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6373, allocations: 0 / 1.483 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.6375, allocations: 15.98 kB / 1.483 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.6375, allocations: 7.938 kB / 1.483 GB, free: 0.5547 MB / 1.17 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.0001231/0.6376, allocations: 126.3 kB / 1.483 GB, free: 432 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.6377, allocations: 19.89 kB / 1.483 GB, free: 412 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.6377, allocations: 8.719 kB / 1.483 GB, free: 400 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.6378, allocations: 4 kB / 1.483 GB, free: 396 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6378, allocations: 0 / 1.483 GB, free: 396 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6378, allocations: 0 / 1.483 GB, free: 396 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008485/0.6386, allocations: 437.4 kB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6386, allocations: 3.938 kB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.6388, allocations: 27.97 kB / 1.483 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6388, allocations: 4 kB / 1.483 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.6388, allocations: 3.984 kB / 1.483 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.6388, allocations: 3.938 kB / 1.483 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6388, allocations: 0 / 1.483 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.6394, allocations: 263.3 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.6394, allocations: 11.89 kB / 1.484 GB, free: 15.58 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.6394, allocations: 4 kB / 1.484 GB, free: 15.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.6396, allocations: 23.92 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.6396, allocations: 3.984 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.6396, allocations: 4 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of sorting global known variables: time 8.918e-05/0.6397, allocations: 117.3 kB / 1.484 GB, free: 15.43 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6397, allocations: 4 kB / 1.484 GB, free: 15.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002788/0.64, allocations: 27.94 kB / 1.484 GB, free: 15.4 MB / 1.186 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.0009338/0.641, allocations: 0.7982 MB / 1.485 GB, free: 14.58 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.6415, allocations: 127.8 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6415, allocations: 4 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.6417, allocations: 63.86 kB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.642, allocations: 36.53 kB / 1.485 GB, free: 14.35 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.6448, allocations: 1.738 MB / 1.486 GB, free: 12.53 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.6452, allocations: 0.6963 MB / 1.487 GB, free: 11.81 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.6454, allocations: 32.44 kB / 1.487 GB, free: 11.78 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/0.6455, allocations: 35.42 kB / 1.487 GB, free: 11.74 MB / 1.186 GB Notification: Performance of SimCode: time 8.21e-07/0.6455, allocations: 0 / 1.487 GB, free: 11.74 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.6756, allocations: 3.508 MB / 1.491 GB, free: 8.387 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.68, allocations: 8.688 kB / 1.491 GB, free: 8.383 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.870223289122805]