Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0006955/0.0006955, 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.0008139/0.0008139, 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.8871/0.8871, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.257e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002783/0.002806, allocations: 1.644 MB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5308/0.5336, allocations: 133.2 MB / 1.082 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.5336, allocations: 3.938 kB / 1.082 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.5338, allocations: 15.75 kB / 1.082 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.534, allocations: 49.84 kB / 1.082 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.5342, allocations: 156.8 kB / 1.082 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.5344, allocations: 123.8 kB / 1.082 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.5345, allocations: 23.61 kB / 1.083 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007209/0.5352, allocations: 190.4 kB / 1.083 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.5352, allocations: 33.11 kB / 1.083 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.5353, allocations: 8.094 kB / 1.083 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.5355, allocations: 177.8 kB / 1.083 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.5355, allocations: 27.44 kB / 1.083 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.5355, allocations: 28.55 kB / 1.083 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.5358, allocations: 213 kB / 1.083 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5358, allocations: 0 / 1.083 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5358, allocations: 0 / 1.083 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.5358, allocations: 0 / 1.083 GB, free: 39.28 MB / 0.9948 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.00038/0.5362, allocations: 366.9 kB / 1.084 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.5362, allocations: 12.42 kB / 1.084 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.439e-05/0.5362, allocations: 41.62 kB / 1.084 GB, free: 38.94 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.5367, allocations: 91.22 kB / 1.084 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.5368, allocations: 144.8 kB / 1.084 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.5369, allocations: 10.06 kB / 1.084 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.5369, allocations: 7.781 kB / 1.084 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.5371, allocations: 136.9 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5371, allocations: 1.203 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5371, allocations: 5.906 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5371, allocations: 0 / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.5374, allocations: 139.7 kB / 1.084 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.5378, allocations: 359.7 kB / 1.084 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.5381, allocations: 179.1 kB / 1.085 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.5383, allocations: 76.03 kB / 1.085 GB, free: 38.45 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.5383, allocations: 4.891 kB / 1.085 GB, free: 38.45 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.5383, allocations: 33.47 kB / 1.085 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.5383, allocations: 0 / 1.085 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0003971/0.5387, allocations: 212.3 kB / 1.085 GB, free: 38.37 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.5387, allocations: 51.41 kB / 1.085 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.5388, allocations: 154.3 kB / 1.085 GB, free: 38.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.5388, allocations: 25.7 kB / 1.085 GB, free: 38.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.5388, allocations: 104.5 kB / 1.085 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.5388, allocations: 35.02 kB / 1.085 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.5389, allocations: 25.11 kB / 1.085 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.862e-05/0.5389, allocations: 323.6 kB / 1.086 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.539, allocations: 51.94 kB / 1.086 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.5391, allocations: 124.4 kB / 1.086 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.5393, allocations: 126 kB / 1.086 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.5393, allocations: 0 / 1.086 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000229/0.5395, allocations: 166.5 kB / 1.086 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.5395, allocations: 5.781 kB / 1.086 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.5395, allocations: 2.844 kB / 1.086 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5396, allocations: 0 / 1.086 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.5397, allocations: 29.92 kB / 1.086 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.5397, allocations: 3.375 kB / 1.086 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.5397, allocations: 19.2 kB / 1.086 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.5397, allocations: 6.422 kB / 1.086 GB, free: 37.59 MB / 0.9948 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 4.333e-05/0.5398, allocations: 122.1 kB / 1.086 GB, free: 37.47 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.5398, allocations: 9.891 kB / 1.086 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.5398, allocations: 18.72 kB / 1.086 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5398, allocations: 0 / 1.086 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5398, allocations: 3.938 kB / 1.086 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5398, allocations: 1.203 kB / 1.086 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.5402, allocations: 423.8 kB / 1.087 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5402, allocations: 2.094 kB / 1.087 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.5403, allocations: 25.98 kB / 1.087 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5403, allocations: 3.375 kB / 1.087 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.5403, allocations: 7.125 kB / 1.087 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5403, allocations: 3.938 kB / 1.087 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5403, allocations: 6.656 kB / 1.087 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.5405, allocations: 252.6 kB / 1.087 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.5405, allocations: 13.14 kB / 1.087 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.5406, allocations: 7.562 kB / 1.087 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.5406, allocations: 14.88 kB / 1.087 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.5407, allocations: 9.391 kB / 1.087 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.5407, allocations: 5.031 kB / 1.087 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.5407, allocations: 115.6 kB / 1.087 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5407, allocations: 0 / 1.087 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001711/0.5409, allocations: 34.98 kB / 1.087 GB, free: 36.94 MB / 0.9948 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.0004041/0.5413, allocations: 0.8074 MB / 1.088 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.5415, allocations: 122.6 kB / 1.088 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.5415, allocations: 1.203 kB / 1.088 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.5417, allocations: 70.94 kB / 1.088 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.5419, allocations: 28.75 kB / 1.088 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.5431, allocations: 1.73 MB / 1.09 GB, free: 35.05 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.5431, allocations: 91.59 kB / 1.09 GB, free: 34.98 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.542e-05/0.5432, allocations: 27.92 kB / 1.09 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.5433, allocations: 33.45 kB / 1.09 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of SimCode: time 4.7e-07/0.5433, allocations: 0 / 1.09 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.557, allocations: 4.215 MB / 1.094 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.463, allocations: 8.047 kB / 1.094 GB, free: 33.91 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.292995512485504]