Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7346 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 61.8 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2804, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002718/0.2832, allocations: 1.278 MB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.137/0.4202, allocations: 132 MB / 1.183 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.4203, allocations: 0 / 1.183 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.4204, allocations: 3.938 kB / 1.183 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.4205, allocations: 7.984 kB / 1.183 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.4209, allocations: 55.67 kB / 1.183 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.421, allocations: 23.92 kB / 1.183 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.421, allocations: 4 kB / 1.183 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.4211, allocations: 4 kB / 1.183 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.4212, allocations: 19.8 kB / 1.183 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.4212, allocations: 3.938 kB / 1.183 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.4213, allocations: 15.94 kB / 1.183 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.4213, allocations: 7.984 kB / 1.183 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.4213, allocations: 3.938 kB / 1.183 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.4215, allocations: 28.2 kB / 1.183 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4215, allocations: 0 / 1.183 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4215, allocations: 4 kB / 1.183 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4215, allocations: 0 / 1.183 GB, free: 2.234 MB / 0.9356 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.0004554/0.422, allocations: 327.6 kB / 1.184 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.422, allocations: 8.625 kB / 1.184 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.4221, allocations: 30.75 kB / 1.184 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.4221, allocations: 12.86 kB / 1.184 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.4223, allocations: 168.2 kB / 1.184 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.283e-05/0.4224, allocations: 30.27 kB / 1.184 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4224, allocations: 8.375 kB / 1.184 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4226, allocations: 49.92 kB / 1.184 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4226, allocations: 0 / 1.184 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4226, allocations: 0 / 1.184 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4226, allocations: 0 / 1.184 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.217e-05/0.4227, allocations: 15.98 kB / 1.184 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.4229, allocations: 153.7 kB / 1.184 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.4231, allocations: 34.61 kB / 1.184 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.4231, allocations: 8.859 kB / 1.184 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.4233, allocations: 89.19 kB / 1.184 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4234, allocations: 42.44 kB / 1.184 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4234, allocations: 0 / 1.184 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002639/0.4236, allocations: 57.67 kB / 1.184 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.4237, allocations: 55.41 kB / 1.184 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.4238, allocations: 93.86 kB / 1.184 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.4238, allocations: 25.7 kB / 1.184 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.4238, allocations: 80.14 kB / 1.184 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.4239, allocations: 19.88 kB / 1.185 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.4239, allocations: 13.72 kB / 1.185 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.424, allocations: 310.8 kB / 1.185 GB, free: 392 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.4241, allocations: 15.98 kB / 1.185 GB, free: 376 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.4241, allocations: 7.938 kB / 1.185 GB, free: 368 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.986e-05/0.4242, allocations: 24.84 kB / 1.185 GB, free: 340 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4242, allocations: 0 / 1.185 GB, free: 340 kB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001332/0.4243, allocations: 49.59 kB / 1.185 GB, free: 284 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4244, allocations: 7.938 kB / 1.185 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4244, allocations: 4 kB / 1.185 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4244, allocations: 0 / 1.185 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.4245, allocations: 7.984 kB / 1.185 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4245, allocations: 7.938 kB / 1.185 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.4245, allocations: 4 kB / 1.185 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4245, allocations: 4 kB / 1.185 GB, free: 248 kB / 0.9356 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 7.278e-05/0.4246, allocations: 115.3 kB / 1.185 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.4246, allocations: 7.875 kB / 1.185 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.4248, allocations: 57.69 kB / 1.185 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4248, allocations: 0 / 1.185 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4248, allocations: 0 / 1.185 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4248, allocations: 8.031 kB / 1.185 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.425, allocations: 153.7 kB / 1.185 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.425, allocations: 0 / 1.185 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.425, allocations: 4 kB / 1.185 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.425, allocations: 7.938 kB / 1.185 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.425, allocations: 0 / 1.185 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.425, allocations: 3.984 kB / 1.185 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.425, allocations: 0 / 1.185 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.4252, allocations: 81.06 kB / 1.185 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.4253, allocations: 92.88 kB / 1.185 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.4253, allocations: 0 / 1.185 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.4253, allocations: 4 kB / 1.185 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.4254, allocations: 0 / 1.185 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.4254, allocations: 0 / 1.185 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.4254, allocations: 79.28 kB / 1.186 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.4254, allocations: 0 / 1.186 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001863/0.4256, allocations: 19.98 kB / 1.186 GB, free: 15.52 MB / 0.9512 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.0004845/0.4261, allocations: 0.6202 MB / 1.186 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.4262, allocations: 19.98 kB / 1.186 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4263, allocations: 0 / 1.186 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.4263, allocations: 19.98 kB / 1.186 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.4266, allocations: 5.719 kB / 1.186 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.427, allocations: 157.4 kB / 1.186 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.4273, allocations: 0.6729 MB / 1.187 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.294e-05/0.4274, allocations: 11.98 kB / 1.187 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.4274, allocations: 14.44 kB / 1.187 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.4274, allocations: 0 / 1.187 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.4459, allocations: 1.351 MB / 1.188 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.799, allocations: 3.938 kB / 1.188 GB, free: 12.67 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches