Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.0008812/0.0008812, 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.0009741/0.0009741, allocations: 165.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.908/0.908, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.738/1.738, allocations: 377.8 MB / 0.6221 GB, free: 8.676 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.981 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.932e-05, allocations: 4.953 kB / 0.981 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001645/0.001664, allocations: 1.313 MB / 0.9822 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.4963/0.498, allocations: 115.8 MB / 1.095 GB, free: 33.37 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.498, allocations: 2.656 kB / 1.095 GB, free: 33.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.498, allocations: 3.938 kB / 1.095 GB, free: 33.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.4981, allocations: 3.281 kB / 1.095 GB, free: 33.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.4984, allocations: 59.91 kB / 1.095 GB, free: 33.34 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.506e-05/0.4985, allocations: 21.33 kB / 1.095 GB, free: 33.33 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.4986, allocations: 6.656 kB / 1.095 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.4986, allocations: 11.86 kB / 1.095 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.4987, allocations: 5.688 kB / 1.095 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.4987, allocations: 0 / 1.095 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.47e-05/0.4988, allocations: 23.69 kB / 1.095 GB, free: 33.31 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.4988, allocations: 11.09 kB / 1.095 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.4988, allocations: 6.516 kB / 1.095 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.4989, allocations: 27.69 kB / 1.095 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4989, allocations: 0 / 1.095 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4989, allocations: 0 / 1.095 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4989, allocations: 0 / 1.095 GB, free: 33.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003206/0.4992, allocations: 256.3 kB / 1.096 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4993, allocations: 8.406 kB / 1.096 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.4993, allocations: 30.75 kB / 1.096 GB, free: 33 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.4993, allocations: 11.39 kB / 1.096 GB, free: 32.99 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.782e-05/0.4994, allocations: 108.2 kB / 1.096 GB, free: 32.87 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.4995, allocations: 58.66 kB / 1.096 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.4995, allocations: 4.359 kB / 1.096 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.634e-05/0.4996, allocations: 39.27 kB / 1.096 GB, free: 32.76 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.4996, allocations: 192 / 1.096 GB, free: 32.76 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.4996, allocations: 3.094 kB / 1.096 GB, free: 32.76 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4996, allocations: 3.938 kB / 1.096 GB, free: 32.76 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.142e-05/0.4996, allocations: 15.42 kB / 1.096 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.4997, allocations: 126.5 kB / 1.096 GB, free: 32.59 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.4998, allocations: 26.2 kB / 1.096 GB, free: 32.57 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.4998, allocations: 18.2 kB / 1.096 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.5, allocations: 20.89 kB / 1.096 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.5, allocations: 34.5 kB / 1.096 GB, free: 32.51 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.5, allocations: 0 / 1.096 GB, free: 32.51 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0001703/0.5001, allocations: 59.31 kB / 1.096 GB, free: 32.47 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.5002, allocations: 59.41 kB / 1.096 GB, free: 32.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.194e-05/0.5002, allocations: 95.7 kB / 1.096 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.5002, allocations: 25.7 kB / 1.096 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.949e-06/0.5002, allocations: 82.42 kB / 1.097 GB, free: 32.19 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.5003, allocations: 13.28 kB / 1.097 GB, free: 32.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.5003, allocations: 15.28 kB / 1.097 GB, free: 32.16 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.033e-05/0.5003, allocations: 310.8 kB / 1.097 GB, free: 31.85 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.5003, allocations: 12.81 kB / 1.097 GB, free: 31.85 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.5004, allocations: 6.656 kB / 1.097 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.054e-05/0.5004, allocations: 26.62 kB / 1.097 GB, free: 31.83 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5004, allocations: 4 kB / 1.097 GB, free: 31.83 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.964e-05/0.5005, allocations: 46.27 kB / 1.097 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5005, allocations: 7.438 kB / 1.097 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5005, allocations: 0 / 1.097 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5005, allocations: 7.047 kB / 1.097 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.5006, allocations: 6.172 kB / 1.097 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5006, allocations: 2.875 kB / 1.097 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.5006, allocations: 3.938 kB / 1.097 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.5006, allocations: 0 / 1.097 GB, free: 31.79 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 (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 3.751e-05/0.5007, allocations: 116.7 kB / 1.097 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.5007, allocations: 2.562 kB / 1.097 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.5008, allocations: 61.25 kB / 1.097 GB, free: 31.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5008, allocations: 3.938 kB / 1.097 GB, free: 31.61 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5008, allocations: 3.422 kB / 1.097 GB, free: 31.61 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5008, allocations: 0 / 1.097 GB, free: 31.61 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.293e-05/0.5008, allocations: 125.7 kB / 1.097 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5008, allocations: 0 / 1.097 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.5008, allocations: 8.453 kB / 1.097 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.5009, allocations: 0 / 1.097 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.5009, allocations: 10.47 kB / 1.097 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5009, allocations: 3.938 kB / 1.097 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5009, allocations: 3.938 kB / 1.097 GB, free: 31.44 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.451e-05/0.5009, allocations: 79.88 kB / 1.097 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.501, allocations: 3.312 kB / 1.097 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.501, allocations: 4 kB / 1.097 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.501, allocations: 9.875 kB / 1.097 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.501, allocations: 0 / 1.097 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.501, allocations: 2.531 kB / 1.097 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.54e-05/0.501, allocations: 77.66 kB / 1.097 GB, free: 31.29 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.501, allocations: 4 kB / 1.097 GB, free: 31.28 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000143/0.5012, allocations: 10.88 kB / 1.097 GB, free: 31.28 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 (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.0002416/0.5014, allocations: 0.6257 MB / 1.098 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.862e-05/0.5015, allocations: 18.88 kB / 1.098 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5015, allocations: 0 / 1.098 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.5016, allocations: 10.69 kB / 1.098 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.5018, allocations: 10.84 kB / 1.098 GB, free: 30.67 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.5021, allocations: 154.2 kB / 1.098 GB, free: 30.51 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.766e-05/0.5021, allocations: 59.81 kB / 1.098 GB, free: 30.44 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.5022, allocations: 5.641 kB / 1.098 GB, free: 30.44 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.5022, allocations: 14.5 kB / 1.098 GB, free: 30.43 MB / 0.9948 GB Notification: Performance of SimCode: time 6.71e-07/0.5022, allocations: 0 / 1.098 GB, free: 30.43 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.5184, allocations: 2.031 MB / 1.1 GB, free: 29.57 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/7.48, allocations: 1.281 kB / 1.1 GB, free: 29.57 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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: 11.445429700426757]