Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001154/0.001154, 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.001435/0.001435, 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.9061/0.9061, 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 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.689/1.689, allocations: 359 MB / 0.6037 GB, free: 11.07 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.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.388e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001719/0.001733, allocations: 1.498 MB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5087/0.5105, allocations: 115.8 MB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.5105, allocations: 0 / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.5106, allocations: 5.062 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.157e-05/0.5106, allocations: 13.3 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.5109, allocations: 64.12 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.451e-05/0.511, allocations: 59.44 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.5111, allocations: 8.062 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.5111, allocations: 28.09 kB / 1.065 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.5112, allocations: 24.81 kB / 1.065 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.5112, allocations: 5.625 kB / 1.065 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.958e-05/0.5113, allocations: 24.86 kB / 1.065 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.5113, allocations: 5.969 kB / 1.065 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.5113, allocations: 19.72 kB / 1.065 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.5114, allocations: 60.86 kB / 1.065 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5114, allocations: 3.25 kB / 1.065 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5114, allocations: 0 / 1.065 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.5114, allocations: 0 / 1.065 GB, free: 41.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003383/0.5118, allocations: 302.6 kB / 1.066 GB, free: 41.65 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5118, allocations: 12.06 kB / 1.066 GB, free: 41.65 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.5118, allocations: 33.88 kB / 1.066 GB, free: 41.61 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.5119, allocations: 7.891 kB / 1.066 GB, free: 41.61 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.72e-05/0.5119, allocations: 116.6 kB / 1.066 GB, free: 41.47 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.5119, allocations: 7.688 kB / 1.066 GB, free: 41.47 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.5119, allocations: 3 kB / 1.066 GB, free: 41.47 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.5121, allocations: 78.97 kB / 1.066 GB, free: 41.44 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5121, allocations: 192 / 1.066 GB, free: 41.44 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.5121, allocations: 7.375 kB / 1.066 GB, free: 41.44 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5121, allocations: 4.125 kB / 1.066 GB, free: 41.43 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.5123, allocations: 63.8 kB / 1.066 GB, free: 41.43 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.5125, allocations: 245 kB / 1.066 GB, free: 41.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.5126, allocations: 54.94 kB / 1.066 GB, free: 41.18 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.5127, allocations: 44.59 kB / 1.066 GB, free: 41.16 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.5128, allocations: 16.39 kB / 1.066 GB, free: 41.16 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.5128, allocations: 30.56 kB / 1.066 GB, free: 41.12 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.5128, allocations: 0 / 1.066 GB, free: 41.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0002877/0.5131, allocations: 130 kB / 1.066 GB, free: 41.09 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.5131, allocations: 57.19 kB / 1.067 GB, free: 41.03 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.5132, allocations: 117.1 kB / 1.067 GB, free: 40.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-06/0.5132, allocations: 25.7 kB / 1.067 GB, free: 40.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.007e-05/0.5132, allocations: 91.2 kB / 1.067 GB, free: 40.81 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.5132, allocations: 14.67 kB / 1.067 GB, free: 40.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.5132, allocations: 15.09 kB / 1.067 GB, free: 40.79 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.495e-05/0.5133, allocations: 314 kB / 1.067 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.5133, allocations: 36.92 kB / 1.067 GB, free: 40.47 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.5134, allocations: 29.91 kB / 1.067 GB, free: 40.47 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.5135, allocations: 72.61 kB / 1.067 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5135, allocations: 3.625 kB / 1.067 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001492/0.5137, allocations: 104.5 kB / 1.067 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5137, allocations: 5.75 kB / 1.067 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5137, allocations: 0 / 1.067 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5137, allocations: 6.641 kB / 1.067 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.5138, allocations: 16.81 kB / 1.067 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5138, allocations: 0 / 1.067 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.5138, allocations: 18.11 kB / 1.067 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.5138, allocations: 4 kB / 1.067 GB, free: 40.42 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.334e-05/0.5138, allocations: 108.6 kB / 1.067 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.5139, allocations: 6.594 kB / 1.067 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.514, allocations: 112.8 kB / 1.068 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.514, allocations: 0 / 1.068 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.514, allocations: 2.406 kB / 1.068 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.514, allocations: 8.031 kB / 1.068 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.014e-05/0.5141, allocations: 140.7 kB / 1.068 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.5141, allocations: 2.688 kB / 1.068 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.5142, allocations: 15.7 kB / 1.068 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.5142, allocations: 0 / 1.068 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.5142, allocations: 2.969 kB / 1.068 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.5142, allocations: 0 / 1.068 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5142, allocations: 0 / 1.068 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.5143, allocations: 203 kB / 1.068 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.5143, allocations: 3.953 kB / 1.068 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.5144, allocations: 2.625 kB / 1.068 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.5144, allocations: 13.73 kB / 1.068 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.5144, allocations: 6.016 kB / 1.068 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.5144, allocations: 0 / 1.068 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.5145, allocations: 96.11 kB / 1.068 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5145, allocations: 0 / 1.068 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001528/0.5146, allocations: 14.75 kB / 1.068 GB, free: 39.88 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.0002898/0.5149, allocations: 0.7421 MB / 1.069 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.5151, allocations: 71.25 kB / 1.069 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.5151, allocations: 0 / 1.069 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.5152, allocations: 38.41 kB / 1.069 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.5154, allocations: 22.27 kB / 1.069 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.5163, allocations: 1.417 MB / 1.07 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.5163, allocations: 73 kB / 1.07 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.5163, allocations: 5.094 kB / 1.07 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.5164, allocations: 16.47 kB / 1.07 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of SimCode: time 5.72e-07/0.5164, allocations: 0 / 1.07 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.5317, allocations: 2.836 MB / 1.073 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/7.265, allocations: 4.156 kB / 1.073 GB, free: 37.03 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.236802804283798]