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.001139/0.001139, 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.001101/0.001101, 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.9273/0.9273, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.768/1.768, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.649e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001846/0.001862, allocations: 1.626 MB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5507/0.5526, allocations: 133.2 MB / 1.113 GB, free: 21.88 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.376e-05/0.5527, allocations: 0.9375 kB / 1.113 GB, free: 21.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.5528, allocations: 24.33 kB / 1.113 GB, free: 21.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.553, allocations: 51.25 kB / 1.113 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.5533, allocations: 151.4 kB / 1.113 GB, free: 21.75 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.5535, allocations: 128 kB / 1.113 GB, free: 21.69 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.5536, allocations: 19.17 kB / 1.113 GB, free: 21.68 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007725/0.5544, allocations: 194.7 kB / 1.113 GB, free: 21.63 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.5544, allocations: 32.73 kB / 1.113 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.5544, allocations: 15.56 kB / 1.113 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.5547, allocations: 176 kB / 1.113 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.5547, allocations: 23.92 kB / 1.113 GB, free: 21.55 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.5548, allocations: 32.91 kB / 1.113 GB, free: 21.54 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.5551, allocations: 207.8 kB / 1.114 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5551, allocations: 1.703 kB / 1.114 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5551, allocations: 0 / 1.114 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.5551, allocations: 0 / 1.114 GB, free: 21.46 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.0004187/0.5555, allocations: 379.6 kB / 1.114 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.5555, allocations: 9.453 kB / 1.114 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.5556, allocations: 38.7 kB / 1.114 GB, free: 21.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005228/0.5561, allocations: 89.16 kB / 1.114 GB, free: 21.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.5562, allocations: 153.6 kB / 1.114 GB, free: 20.93 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.5562, allocations: 6.625 kB / 1.114 GB, free: 20.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.5563, allocations: 6.281 kB / 1.114 GB, free: 20.93 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.5565, allocations: 141.1 kB / 1.114 GB, free: 20.87 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5566, allocations: 1.094 kB / 1.114 GB, free: 20.87 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5566, allocations: 4.609 kB / 1.114 GB, free: 20.87 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5566, allocations: 2.812 kB / 1.114 GB, free: 20.87 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.5569, allocations: 134.3 kB / 1.115 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.5574, allocations: 371.4 kB / 1.115 GB, free: 20.54 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.5577, allocations: 175.1 kB / 1.115 GB, free: 20.47 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.5579, allocations: 69.12 kB / 1.115 GB, free: 20.45 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.5579, allocations: 1.219 kB / 1.115 GB, free: 20.45 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.5579, allocations: 36.22 kB / 1.115 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.5579, allocations: 5.25 kB / 1.115 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0004895/0.5584, allocations: 206 kB / 1.115 GB, free: 20.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.5584, allocations: 52.56 kB / 1.115 GB, free: 20.28 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.5585, allocations: 157 kB / 1.116 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.5585, allocations: 25.7 kB / 1.116 GB, free: 20.12 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.5586, allocations: 104.1 kB / 1.116 GB, free: 20.03 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.5586, allocations: 33.55 kB / 1.116 GB, free: 20 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.5586, allocations: 24.45 kB / 1.116 GB, free: 19.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.5587, allocations: 320.8 kB / 1.116 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.5588, allocations: 55.42 kB / 1.116 GB, free: 19.65 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.559, allocations: 129.8 kB / 1.116 GB, free: 19.55 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.5592, allocations: 120.6 kB / 1.116 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5592, allocations: 0 / 1.116 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003176/0.5595, allocations: 163.6 kB / 1.116 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.5596, allocations: 5.531 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5596, allocations: 1.031 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5596, allocations: 5.844 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.5597, allocations: 35.23 kB / 1.117 GB, free: 19.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.5597, allocations: 0 / 1.117 GB, free: 19.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.5598, allocations: 19.33 kB / 1.117 GB, free: 19.43 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5598, allocations: 8.641 kB / 1.117 GB, free: 19.43 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 6.023e-05/0.5599, allocations: 124.7 kB / 1.117 GB, free: 19.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.5599, allocations: 9.234 kB / 1.117 GB, free: 19.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.56, allocations: 15.39 kB / 1.117 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.56, allocations: 5.688 kB / 1.117 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.56, allocations: 0 / 1.117 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.56, allocations: 0.7031 kB / 1.117 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.5605, allocations: 427.2 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5605, allocations: 0 / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.5606, allocations: 31.08 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5606, allocations: 1.156 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5606, allocations: 2.562 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5606, allocations: 0 / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5606, allocations: 1.828 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.5609, allocations: 267.3 kB / 1.117 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.5609, allocations: 8.562 kB / 1.117 GB, free: 18.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.561, allocations: 0.75 kB / 1.117 GB, free: 18.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.561, allocations: 18.39 kB / 1.117 GB, free: 18.78 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.5611, allocations: 7.828 kB / 1.117 GB, free: 18.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.5611, allocations: 1.812 kB / 1.117 GB, free: 18.78 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.5612, allocations: 119.7 kB / 1.118 GB, free: 18.69 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5612, allocations: 0 / 1.118 GB, free: 18.69 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002074/0.5614, allocations: 35.3 kB / 1.118 GB, free: 18.68 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.000568/0.562, allocations: 0.7963 MB / 1.118 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.5623, allocations: 132 kB / 1.119 GB, free: 17.95 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5623, allocations: 0 / 1.119 GB, free: 17.95 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.5624, allocations: 68.23 kB / 1.119 GB, free: 17.94 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.5627, allocations: 33.3 kB / 1.119 GB, free: 17.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.5642, allocations: 1.726 MB / 1.12 GB, free: 16.59 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.878e-05/0.5642, allocations: 93.84 kB / 1.12 GB, free: 16.51 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.363e-05/0.5643, allocations: 26.56 kB / 1.12 GB, free: 16.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.5644, allocations: 35.05 kB / 1.12 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of SimCode: time 5.41e-07/0.5644, allocations: 1.219 kB / 1.12 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.5802, allocations: 4.212 MB / 1.125 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.411, allocations: 9.312 kB / 1.125 GB, free: 15.42 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.503467774018645]