Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008575/0.0008575, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001001/0.001001, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9347/0.9347, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.798/1.798, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.45e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002369/0.002394, allocations: 1.626 MB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6185/0.6209, allocations: 133.2 MB / 1.131 GB, free: 316 kB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.621, allocations: 1.031 kB / 1.131 GB, free: 316 kB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.6212, allocations: 17.64 kB / 1.131 GB, free: 304 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.6214, allocations: 52.2 kB / 1.131 GB, free: 268 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.6219, allocations: 157.2 kB / 1.132 GB, free: 184 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.6221, allocations: 119.6 kB / 1.132 GB, free: 128 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.6222, allocations: 19.92 kB / 1.132 GB, free: 116 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000962/0.6232, allocations: 200.1 kB / 1.132 GB, free: 64 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.6232, allocations: 33.05 kB / 1.132 GB, free: 52 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.6233, allocations: 7.031 kB / 1.132 GB, free: 52 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.6236, allocations: 176 kB / 1.132 GB, free: 4 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.6237, allocations: 29.34 kB / 1.132 GB, free: 15.98 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.6238, allocations: 24.48 kB / 1.132 GB, free: 15.98 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.6242, allocations: 216.8 kB / 1.132 GB, free: 15.89 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6242, allocations: 0.6562 kB / 1.132 GB, free: 15.89 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6242, allocations: 0 / 1.132 GB, free: 15.89 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6242, allocations: 1.125 kB / 1.132 GB, free: 15.89 MB / 1.01 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.0005508/0.6247, allocations: 371.3 kB / 1.133 GB, free: 15.57 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6248, allocations: 15.34 kB / 1.133 GB, free: 15.57 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.6248, allocations: 38.66 kB / 1.133 GB, free: 15.53 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005769/0.6254, allocations: 94.84 kB / 1.133 GB, free: 15.51 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.6256, allocations: 149.9 kB / 1.133 GB, free: 15.36 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.6256, allocations: 6.5 kB / 1.133 GB, free: 15.36 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.6257, allocations: 6.281 kB / 1.133 GB, free: 15.36 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.626, allocations: 141.4 kB / 1.133 GB, free: 15.3 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.626, allocations: 0.7031 kB / 1.133 GB, free: 15.3 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.626, allocations: 1.688 kB / 1.133 GB, free: 15.3 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.626, allocations: 5.531 kB / 1.133 GB, free: 15.3 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.6263, allocations: 134 kB / 1.133 GB, free: 15.27 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.6269, allocations: 372.2 kB / 1.134 GB, free: 14.97 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.6274, allocations: 169.2 kB / 1.134 GB, free: 14.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.6275, allocations: 68.88 kB / 1.134 GB, free: 14.89 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.6276, allocations: 5.438 kB / 1.134 GB, free: 14.89 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6276, allocations: 33.58 kB / 1.134 GB, free: 14.85 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 3.387e-06/0.6276, allocations: 3.938 kB / 1.134 GB, free: 14.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.0005402/0.6281, allocations: 217.5 kB / 1.134 GB, free: 14.77 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.6282, allocations: 52.75 kB / 1.134 GB, free: 14.7 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.6283, allocations: 146.2 kB / 1.134 GB, free: 14.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.6283, allocations: 33.7 kB / 1.134 GB, free: 14.55 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.6284, allocations: 100.8 kB / 1.134 GB, free: 14.46 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.6284, allocations: 28.95 kB / 1.134 GB, free: 14.44 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.6284, allocations: 24.73 kB / 1.134 GB, free: 14.42 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.6285, allocations: 319.7 kB / 1.135 GB, free: 14.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.6287, allocations: 54.47 kB / 1.135 GB, free: 14.09 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.6289, allocations: 131.7 kB / 1.135 GB, free: 13.99 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.6291, allocations: 128.5 kB / 1.135 GB, free: 13.95 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6291, allocations: 0 / 1.135 GB, free: 13.95 MB / 1.01 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003273/0.6294, allocations: 155.3 kB / 1.135 GB, free: 13.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6295, allocations: 5.797 kB / 1.135 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6295, allocations: 0 / 1.135 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.6295, allocations: 4.453 kB / 1.135 GB, free: 13.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.6296, allocations: 35.47 kB / 1.135 GB, free: 13.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6296, allocations: 8.172 kB / 1.135 GB, free: 13.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.6297, allocations: 22.19 kB / 1.135 GB, free: 13.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6297, allocations: 3.609 kB / 1.135 GB, free: 13.87 MB / 1.01 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 8.432e-05/0.6298, allocations: 119.5 kB / 1.135 GB, free: 13.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.6298, allocations: 9.828 kB / 1.135 GB, free: 13.74 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.6299, allocations: 16.23 kB / 1.135 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6299, allocations: 2 kB / 1.135 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6299, allocations: 4.703 kB / 1.135 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6299, allocations: 0 / 1.135 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.6305, allocations: 427.4 kB / 1.136 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6305, allocations: 0 / 1.136 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.6306, allocations: 31.84 kB / 1.136 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6307, allocations: 0.6562 kB / 1.136 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.6307, allocations: 2.297 kB / 1.136 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6307, allocations: 1.156 kB / 1.136 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6307, allocations: 0 / 1.136 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.631, allocations: 264.2 kB / 1.136 GB, free: 13.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.631, allocations: 16.28 kB / 1.136 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.6311, allocations: 2.688 kB / 1.136 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.6312, allocations: 12.45 kB / 1.136 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.6312, allocations: 15.73 kB / 1.136 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.6312, allocations: 1.734 kB / 1.136 GB, free: 13.21 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.6313, allocations: 116.4 kB / 1.136 GB, free: 13.12 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6313, allocations: 1.375 kB / 1.136 GB, free: 13.12 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002231/0.6315, allocations: 31.38 kB / 1.136 GB, free: 13.11 MB / 1.01 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.0006431/0.6322, allocations: 0.8006 MB / 1.137 GB, free: 12.42 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.6325, allocations: 126.4 kB / 1.137 GB, free: 12.39 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6325, allocations: 0 / 1.137 GB, free: 12.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.6326, allocations: 63.55 kB / 1.137 GB, free: 12.38 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.6329, allocations: 36.53 kB / 1.137 GB, free: 12.37 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.6348, allocations: 1.735 MB / 1.139 GB, free: 11.02 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.618e-05/0.6349, allocations: 92.78 kB / 1.139 GB, free: 10.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.635, allocations: 22.25 kB / 1.139 GB, free: 10.94 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.635, allocations: 31.45 kB / 1.139 GB, free: 10.93 MB / 1.01 GB Notification: Performance of SimCode: time 9.32e-07/0.635, allocations: 5.125 kB / 1.139 GB, free: 10.92 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.656, allocations: 4.213 MB / 1.143 GB, free: 9.863 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.778/7.434, allocations: 8.188 kB / 1.143 GB, free: 9.859 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.682291925884783]