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.001557/0.001557, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001691/0.001691, allocations: 217 kB / 22.24 MB, free: 5.262 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.793 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.25/3.25, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.002071/0.002071, allocations: 72.08 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4297, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003007/0.4327, allocations: 1.636 MB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1897/0.6223, allocations: 133.2 MB / 1.458 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.6226, allocations: 0 / 1.458 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.6228, allocations: 27.8 kB / 1.458 GB, free: 10.14 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.6233, allocations: 43.64 kB / 1.458 GB, free: 10.1 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.6239, allocations: 151.3 kB / 1.458 GB, free: 9.949 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.6242, allocations: 123.6 kB / 1.458 GB, free: 9.828 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.6243, allocations: 29.47 kB / 1.458 GB, free: 9.793 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.6259, allocations: 178.9 kB / 1.458 GB, free: 9.641 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.626, allocations: 55.7 kB / 1.458 GB, free: 9.586 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.626, allocations: 8 kB / 1.458 GB, free: 9.578 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.6265, allocations: 175.7 kB / 1.458 GB, free: 9.406 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.6265, allocations: 19.92 kB / 1.458 GB, free: 9.387 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.6266, allocations: 39.8 kB / 1.458 GB, free: 9.348 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.6271, allocations: 195.3 kB / 1.459 GB, free: 9.156 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6271, allocations: 0 / 1.459 GB, free: 9.156 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.815e-06/0.6271, allocations: 0 / 1.459 GB, free: 9.156 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.6271, allocations: 0 / 1.459 GB, free: 9.156 MB / 1.154 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.0007572/0.6278, allocations: 381.5 kB / 1.459 GB, free: 8.754 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6279, allocations: 8.031 kB / 1.459 GB, free: 8.746 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.6279, allocations: 42.73 kB / 1.459 GB, free: 8.695 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.629, allocations: 91.75 kB / 1.459 GB, free: 8.605 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.6293, allocations: 146.8 kB / 1.459 GB, free: 8.438 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.6293, allocations: 4 kB / 1.459 GB, free: 8.434 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.6293, allocations: 12 kB / 1.459 GB, free: 8.422 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.6298, allocations: 133.5 kB / 1.459 GB, free: 8.285 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6298, allocations: 0 / 1.459 GB, free: 8.285 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.6298, allocations: 11.94 kB / 1.459 GB, free: 8.273 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6298, allocations: 0 / 1.459 GB, free: 8.273 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.6304, allocations: 135.9 kB / 1.459 GB, free: 8.141 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009576/0.6313, allocations: 371.5 kB / 1.46 GB, free: 7.734 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.6321, allocations: 166.6 kB / 1.46 GB, free: 7.562 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.6324, allocations: 72.8 kB / 1.46 GB, free: 7.488 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.6324, allocations: 4 kB / 1.46 GB, free: 7.484 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.6324, allocations: 34.56 kB / 1.46 GB, free: 7.441 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.6324, allocations: 0 / 1.46 GB, free: 7.441 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.0008522/0.6333, allocations: 213.4 kB / 1.46 GB, free: 7.227 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.6333, allocations: 55.41 kB / 1.46 GB, free: 7.16 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.6335, allocations: 146.5 kB / 1.46 GB, free: 7.008 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.6335, allocations: 25.7 kB / 1.46 GB, free: 6.977 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.6336, allocations: 112.1 kB / 1.461 GB, free: 6.863 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.6336, allocations: 27.89 kB / 1.461 GB, free: 6.836 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.6337, allocations: 25.7 kB / 1.461 GB, free: 6.805 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6339, allocations: 326.8 kB / 1.461 GB, free: 6.477 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.6341, allocations: 55.94 kB / 1.461 GB, free: 6.422 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.6343, allocations: 125.9 kB / 1.461 GB, free: 6.277 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.6348, allocations: 116.7 kB / 1.461 GB, free: 6.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6348, allocations: 4.031 kB / 1.461 GB, free: 6.156 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004849/0.6352, allocations: 157.5 kB / 1.461 GB, free: 5.996 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6353, allocations: 4 kB / 1.461 GB, free: 5.992 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6353, allocations: 4 kB / 1.461 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.6353, allocations: 0 / 1.461 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.6355, allocations: 27.97 kB / 1.461 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.6355, allocations: 8 kB / 1.461 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.6357, allocations: 15.98 kB / 1.461 GB, free: 5.938 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.6357, allocations: 11.92 kB / 1.461 GB, free: 5.926 MB / 1.154 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.0001269/0.6358, allocations: 122.2 kB / 1.462 GB, free: 5.797 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.6359, allocations: 11.91 kB / 1.462 GB, free: 5.785 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/0.6359, allocations: 24.7 kB / 1.462 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.636, allocations: 0 / 1.462 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.636, allocations: 0 / 1.462 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.636, allocations: 3.938 kB / 1.462 GB, free: 5.754 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008887/0.6368, allocations: 417.5 kB / 1.462 GB, free: 5.297 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.6369, allocations: 4 kB / 1.462 GB, free: 5.293 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.637, allocations: 27.91 kB / 1.462 GB, free: 5.266 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.637, allocations: 0 / 1.462 GB, free: 5.266 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.6371, allocations: 7.984 kB / 1.462 GB, free: 5.258 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6371, allocations: 4.562 kB / 1.462 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6371, allocations: 0 / 1.462 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.6376, allocations: 267.3 kB / 1.462 GB, free: 4.977 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.6376, allocations: 11.89 kB / 1.462 GB, free: 4.965 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.6377, allocations: 0 / 1.462 GB, free: 4.965 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.6378, allocations: 19.91 kB / 1.462 GB, free: 4.945 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.6379, allocations: 11.98 kB / 1.462 GB, free: 4.934 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.6379, allocations: 4 kB / 1.462 GB, free: 4.93 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.611e-05/0.638, allocations: 109.5 kB / 1.462 GB, free: 4.824 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.638, allocations: 4 kB / 1.462 GB, free: 4.82 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002765/0.6383, allocations: 31.94 kB / 1.462 GB, free: 4.789 MB / 1.154 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.0009681/0.6392, allocations: 0.802 MB / 1.463 GB, free: 3.961 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005185/0.6398, allocations: 131.8 kB / 1.463 GB, free: 3.832 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6398, allocations: 0 / 1.463 GB, free: 3.832 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.64, allocations: 63.94 kB / 1.463 GB, free: 3.77 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.6404, allocations: 35.92 kB / 1.463 GB, free: 3.734 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.6432, allocations: 1.731 MB / 1.465 GB, free: 1.922 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.923e-05/0.6433, allocations: 84.19 kB / 1.465 GB, free: 1.816 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.6434, allocations: 32.44 kB / 1.465 GB, free: 1.785 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.6435, allocations: 31.42 kB / 1.465 GB, free: 1.754 MB / 1.154 GB Notification: Performance of SimCode: time 7.31e-07/0.6435, allocations: 112 / 1.465 GB, free: 1.754 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.673, allocations: 4.13 MB / 1.469 GB, free: 13.8 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.68, allocations: 6.172 kB / 1.469 GB, free: 13.79 MB / 1.17 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.73509761900641]