Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008335/0.0008335, 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.0009421/0.0009421, 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.8726/0.8726, 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.674/1.674, allocations: 359 MB / 0.6037 GB, free: 11.09 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.26e-05, allocations: 9.234 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001476/0.001488, allocations: 1.302 MB / 0.9518 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5202/0.5217, allocations: 115.8 MB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.5217, allocations: 0 / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.5217, allocations: 2.531 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.5218, allocations: 7.156 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.5221, allocations: 58.7 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.283e-05/0.5222, allocations: 27.39 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.5223, allocations: 0 / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.197e-05/0.5223, allocations: 14.91 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.5224, allocations: 7.281 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.5224, allocations: 2.906 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.5225, allocations: 22.02 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.5225, allocations: 2.844 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.5225, allocations: 9.781 kB / 1.065 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.5226, allocations: 32.62 kB / 1.065 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5226, allocations: 0 / 1.065 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5226, allocations: 0 / 1.065 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.5226, allocations: 0 / 1.065 GB, free: 41.97 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.0003252/0.523, allocations: 256.8 kB / 1.065 GB, free: 41.71 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.523, allocations: 11.09 kB / 1.065 GB, free: 41.71 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.329e-05/0.523, allocations: 34.25 kB / 1.065 GB, free: 41.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.5231, allocations: 6.734 kB / 1.065 GB, free: 41.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.731e-05/0.5231, allocations: 107 kB / 1.065 GB, free: 41.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/0.5232, allocations: 58.3 kB / 1.065 GB, free: 41.49 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.5232, allocations: 4.375 kB / 1.065 GB, free: 41.48 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.582e-05/0.5233, allocations: 38.77 kB / 1.065 GB, free: 41.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5233, allocations: 2.156 kB / 1.065 GB, free: 41.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.5233, allocations: 3.219 kB / 1.066 GB, free: 41.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5233, allocations: 3.938 kB / 1.066 GB, free: 41.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.909e-05/0.5234, allocations: 14.84 kB / 1.066 GB, free: 41.45 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.5235, allocations: 125.4 kB / 1.066 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.069e-05/0.5235, allocations: 26.02 kB / 1.066 GB, free: 41.27 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.5236, allocations: 14.11 kB / 1.066 GB, free: 41.27 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.5237, allocations: 20.02 kB / 1.066 GB, free: 41.26 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.5237, allocations: 33.19 kB / 1.066 GB, free: 41.22 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5237, allocations: 0 / 1.066 GB, free: 41.22 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0001626/0.5238, allocations: 58.72 kB / 1.066 GB, free: 41.19 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.5239, allocations: 51.41 kB / 1.066 GB, free: 41.12 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.462e-05/0.5239, allocations: 99.56 kB / 1.066 GB, free: 41.03 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.5239, allocations: 28.23 kB / 1.066 GB, free: 41 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.111e-05/0.5239, allocations: 83.33 kB / 1.066 GB, free: 40.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.5239, allocations: 12.77 kB / 1.066 GB, free: 40.91 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.524, allocations: 16.98 kB / 1.066 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.904e-05/0.524, allocations: 317.4 kB / 1.066 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.524, allocations: 6.922 kB / 1.066 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.524, allocations: 6.75 kB / 1.066 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.5241, allocations: 27.44 kB / 1.066 GB, free: 40.56 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5241, allocations: 3.625 kB / 1.066 GB, free: 40.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.03e-05/0.5242, allocations: 52.23 kB / 1.066 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.5242, allocations: 7.5 kB / 1.066 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5242, allocations: 4 kB / 1.066 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5242, allocations: 3.938 kB / 1.066 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.5242, allocations: 9.125 kB / 1.066 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5242, allocations: 0 / 1.066 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.5243, allocations: 6.906 kB / 1.066 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-06/0.5243, allocations: 1.203 kB / 1.066 GB, free: 40.52 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.614e-05/0.5243, allocations: 111.5 kB / 1.067 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-06/0.5243, allocations: 3.281 kB / 1.067 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.385e-05/0.5244, allocations: 57.28 kB / 1.067 GB, free: 40.37 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5244, allocations: 7.938 kB / 1.067 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5244, allocations: 0 / 1.067 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5244, allocations: 0 / 1.067 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.188e-05/0.5245, allocations: 127.2 kB / 1.067 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5245, allocations: 0 / 1.067 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.5245, allocations: 8.438 kB / 1.067 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.5245, allocations: 0 / 1.067 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.5245, allocations: 1.094 kB / 1.067 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.5245, allocations: 3.938 kB / 1.067 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5245, allocations: 0 / 1.067 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.385e-05/0.5245, allocations: 83.7 kB / 1.067 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.5246, allocations: 3.281 kB / 1.067 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-06/0.5246, allocations: 5.438 kB / 1.067 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.158e-05/0.5246, allocations: 3.938 kB / 1.067 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.5246, allocations: 10.17 kB / 1.067 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.5246, allocations: 0 / 1.067 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.075e-05/0.5246, allocations: 78.12 kB / 1.067 GB, free: 40.06 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5246, allocations: 1.203 kB / 1.067 GB, free: 40.06 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001341/0.5248, allocations: 8.781 kB / 1.067 GB, free: 40.06 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.0002252/0.525, allocations: 0.6233 MB / 1.068 GB, free: 39.46 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.5251, allocations: 21.48 kB / 1.068 GB, free: 39.46 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5251, allocations: 0 / 1.068 GB, free: 39.46 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.5251, allocations: 11.25 kB / 1.068 GB, free: 39.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.5253, allocations: 20.19 kB / 1.068 GB, free: 39.46 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.5256, allocations: 147.7 kB / 1.068 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.671e-05/0.5256, allocations: 62.19 kB / 1.068 GB, free: 39.24 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.5257, allocations: 6.828 kB / 1.068 GB, free: 39.24 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.5257, allocations: 15 kB / 1.068 GB, free: 39.24 MB / 0.9948 GB Notification: Performance of SimCode: time 5.01e-07/0.5257, allocations: 0 / 1.068 GB, free: 39.24 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.5441, allocations: 2.033 MB / 1.07 GB, free: 38.38 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.692, allocations: 2.938 kB / 1.07 GB, free: 38.38 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.604739199392498]