Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.001589/0.001589, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.001516/0.001516, allocations: 219 kB / 22.25 MB, free: 5.184 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 3.357/3.357, allocations: 0.505 GB / 0.8101 GB, free: 22.15 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.002619/0.002619, allocations: 65.17 kB / 1.177 GB, free: 17.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3967, allocations: 180.2 MB / 1.353 GB, free: 8.582 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003018/0.3997, allocations: 1.531 MB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1946/0.5943, allocations: 135.3 MB / 1.486 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.5944, allocations: 4 kB / 1.486 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.5944, allocations: 3.938 kB / 1.486 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.183e-05/0.5945, allocations: 7.875 kB / 1.486 GB, free: 15.26 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.595, allocations: 75.94 kB / 1.487 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.5951, allocations: 63.59 kB / 1.487 GB, free: 15.12 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.5952, allocations: 11.98 kB / 1.487 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.5953, allocations: 19.94 kB / 1.487 GB, free: 15.09 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.5954, allocations: 27.91 kB / 1.487 GB, free: 15.07 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.5954, allocations: 4 kB / 1.487 GB, free: 15.06 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.5955, allocations: 27.92 kB / 1.487 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.5955, allocations: 11.92 kB / 1.487 GB, free: 15.02 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.5956, allocations: 23.88 kB / 1.487 GB, free: 15 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.5958, allocations: 59.8 kB / 1.487 GB, free: 14.94 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5958, allocations: 0 / 1.487 GB, free: 14.94 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5958, allocations: 4 kB / 1.487 GB, free: 14.94 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.5958, allocations: 0 / 1.487 GB, free: 14.94 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005654/0.5963, allocations: 302.1 kB / 1.487 GB, free: 14.61 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5964, allocations: 8.031 kB / 1.487 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.5964, allocations: 34.75 kB / 1.487 GB, free: 14.56 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.5966, allocations: 12.88 kB / 1.487 GB, free: 14.55 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.5967, allocations: 118.4 kB / 1.487 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.5967, allocations: 16.3 kB / 1.487 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.5967, allocations: 384 / 1.487 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.597, allocations: 78.14 kB / 1.487 GB, free: 14.31 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.597, allocations: 3.938 kB / 1.487 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.597, allocations: 4 kB / 1.487 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.597, allocations: 4 kB / 1.487 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.5973, allocations: 67.92 kB / 1.487 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.5978, allocations: 267.7 kB / 1.488 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.598, allocations: 50.53 kB / 1.488 GB, free: 13.87 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.5981, allocations: 44.91 kB / 1.488 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.5981, allocations: 0 / 1.488 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.5982, allocations: 34.56 kB / 1.488 GB, free: 13.78 MB / 1.186 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.5982, allocations: 0 / 1.488 GB, free: 13.78 MB / 1.186 GB Notification: Performance of matching and sorting (n=3): time 0.000523/0.5987, allocations: 129.5 kB / 1.488 GB, free: 13.64 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.5987, allocations: 55.41 kB / 1.488 GB, free: 13.58 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5989, allocations: 117.8 kB / 1.488 GB, free: 13.45 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.5989, allocations: 25.7 kB / 1.488 GB, free: 13.42 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.5989, allocations: 92.09 kB / 1.488 GB, free: 13.33 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.5989, allocations: 3.953 kB / 1.488 GB, free: 13.32 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.599, allocations: 21.7 kB / 1.488 GB, free: 13.3 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5991, allocations: 318.8 kB / 1.488 GB, free: 12.98 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.5993, allocations: 31.97 kB / 1.489 GB, free: 12.95 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.5994, allocations: 31.95 kB / 1.489 GB, free: 12.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.5997, allocations: 72.78 kB / 1.489 GB, free: 12.84 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5997, allocations: 4 kB / 1.489 GB, free: 12.84 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003095/0.6, allocations: 101.5 kB / 1.489 GB, free: 12.73 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.6, allocations: 4 kB / 1.489 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6, allocations: 4 kB / 1.489 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6, allocations: 0 / 1.489 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.6002, allocations: 15.98 kB / 1.489 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6002, allocations: 4 kB / 1.489 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.6002, allocations: 15.97 kB / 1.489 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.6003, allocations: 0 / 1.489 GB, free: 12.69 MB / 1.186 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 (3): * Single equations (assignments): 3 * 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 9.957e-05/0.6004, allocations: 121.7 kB / 1.489 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.6004, allocations: 7.938 kB / 1.489 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.6004, allocations: 8 kB / 1.489 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6004, allocations: 0 / 1.489 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6004, allocations: 0 / 1.489 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6004, allocations: 4.328 kB / 1.489 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.6006, allocations: 152.6 kB / 1.489 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6006, allocations: 0 / 1.489 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.6007, allocations: 11.98 kB / 1.489 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6007, allocations: 3.938 kB / 1.489 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.6007, allocations: 7.984 kB / 1.489 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6007, allocations: 3.938 kB / 1.489 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6007, allocations: 0 / 1.489 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.6011, allocations: 203.4 kB / 1.489 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.6011, allocations: 11.89 kB / 1.489 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.6011, allocations: 0 / 1.489 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.6012, allocations: 11.98 kB / 1.489 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.6013, allocations: 7.984 kB / 1.489 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.6013, allocations: 0 / 1.489 GB, free: 12.07 MB / 1.186 GB Notification: Performance of sorting global known variables: time 7.695e-05/0.6014, allocations: 103.6 kB / 1.489 GB, free: 11.97 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6014, allocations: 0 / 1.489 GB, free: 11.97 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002203/0.6016, allocations: 8 kB / 1.489 GB, free: 11.96 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 (3): * Single equations (assignments): 3 * 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.0006834/0.6023, allocations: 0.728 MB / 1.49 GB, free: 11.21 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.6026, allocations: 67.92 kB / 1.49 GB, free: 11.14 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6026, allocations: 0 / 1.49 GB, free: 11.14 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.6028, allocations: 35.91 kB / 1.49 GB, free: 11.11 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.6031, allocations: 19.97 kB / 1.49 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.605, allocations: 1.413 MB / 1.492 GB, free: 9.594 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.6054, allocations: 0.6846 MB / 1.492 GB, free: 8.883 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.6054, allocations: 0 / 1.492 GB, free: 8.883 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.6055, allocations: 23.38 kB / 1.492 GB, free: 8.859 MB / 1.186 GB Notification: Performance of SimCode: time 9.81e-07/0.6055, allocations: 0 / 1.492 GB, free: 8.859 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.6367, allocations: 2.101 MB / 1.494 GB, free: 6.902 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.71, allocations: 3.859 kB / 1.494 GB, free: 6.902 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.662205424159765]