Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_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.001459/0.001459, allocations: 108 kB / 15.61 MB, free: 152 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.001654/0.001654, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 63.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6173, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00206/0.6194, allocations: 1.266 MB / 0.951 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1413/0.7607, allocations: 132 MB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.7608, allocations: 0 / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.7609, allocations: 3.938 kB / 1.08 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.7609, allocations: 3.984 kB / 1.08 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.7614, allocations: 59.67 kB / 1.08 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.938e-05/0.7615, allocations: 23.88 kB / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.7615, allocations: 3.984 kB / 1.08 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.976e-05/0.7616, allocations: 15.92 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.7617, allocations: 8 kB / 1.08 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.7617, allocations: 3.938 kB / 1.08 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.7618, allocations: 15.98 kB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.7618, allocations: 0 / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.7619, allocations: 7.984 kB / 1.08 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.762, allocations: 30.17 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.762, allocations: 4 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.154e-06/0.762, allocations: 0 / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.762, allocations: 0 / 1.08 GB, free: 11.84 MB / 0.8419 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.0004759/0.7625, allocations: 335.4 kB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.7626, allocations: 12.03 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.7626, allocations: 30.75 kB / 1.08 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.7627, allocations: 0.9375 kB / 1.08 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.7628, allocations: 168.4 kB / 1.081 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.7629, allocations: 34.19 kB / 1.081 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.763, allocations: 12.38 kB / 1.081 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.7631, allocations: 41.94 kB / 1.081 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7631, allocations: 0 / 1.081 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.7631, allocations: 0 / 1.081 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.7631, allocations: 4 kB / 1.081 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.7632, allocations: 11.98 kB / 1.081 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.7634, allocations: 157.7 kB / 1.081 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.402e-05/0.7635, allocations: 38.61 kB / 1.081 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.7636, allocations: 16.88 kB / 1.081 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.7637, allocations: 89.05 kB / 1.081 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.7638, allocations: 38.48 kB / 1.081 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7638, allocations: 0 / 1.081 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002341/0.764, allocations: 69.77 kB / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.7641, allocations: 51.41 kB / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.7642, allocations: 97.84 kB / 1.081 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.7642, allocations: 25.7 kB / 1.081 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.7642, allocations: 80.14 kB / 1.081 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.7642, allocations: 11.84 kB / 1.081 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.7643, allocations: 13.72 kB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7644, allocations: 314.8 kB / 1.082 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.7645, allocations: 16 kB / 1.082 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.7645, allocations: 11.92 kB / 1.082 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.167e-05/0.7646, allocations: 16.86 kB / 1.082 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7646, allocations: 0 / 1.082 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001248/0.7647, allocations: 53.67 kB / 1.082 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7647, allocations: 7.938 kB / 1.082 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.7648, allocations: 0 / 1.082 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7648, allocations: 0 / 1.082 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.7649, allocations: 12 kB / 1.082 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7649, allocations: 0 / 1.082 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.7649, allocations: 0 / 1.082 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.7649, allocations: 0 / 1.082 GB, free: 9.844 MB / 0.8419 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 8.338e-05/0.765, allocations: 121.8 kB / 1.082 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.765, allocations: 7.844 kB / 1.082 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.7652, allocations: 53.17 kB / 1.082 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.7652, allocations: 4 kB / 1.082 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7652, allocations: 4 kB / 1.082 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.7652, allocations: 0 / 1.082 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.7653, allocations: 153.7 kB / 1.082 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7653, allocations: 0 / 1.082 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.7654, allocations: 4 kB / 1.082 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7654, allocations: 7.875 kB / 1.082 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.7654, allocations: 0 / 1.082 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.7654, allocations: 4 kB / 1.082 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7654, allocations: 3.938 kB / 1.082 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.7656, allocations: 81.05 kB / 1.082 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.7657, allocations: 85.05 kB / 1.082 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.7657, allocations: 0 / 1.082 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.826e-05/0.7657, allocations: 0 / 1.082 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.7658, allocations: 7.984 kB / 1.082 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.7658, allocations: 4.422 kB / 1.082 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.7658, allocations: 87.27 kB / 1.082 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7658, allocations: 0 / 1.082 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001916/0.766, allocations: 12 kB / 1.082 GB, free: 9.109 MB / 0.8419 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.0005027/0.7665, allocations: 0.6241 MB / 1.083 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.7667, allocations: 15.98 kB / 1.083 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7667, allocations: 0 / 1.083 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.7668, allocations: 16 kB / 1.083 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.767, allocations: 9.703 kB / 1.083 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.7675, allocations: 161.3 kB / 1.083 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.7677, allocations: 0.6805 MB / 1.084 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.7678, allocations: 7.953 kB / 1.084 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.7678, allocations: 15.44 kB / 1.084 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.7678, allocations: 0 / 1.084 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.7849, allocations: 1.335 MB / 1.085 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.804/10.59, allocations: 5.641 kB / 1.085 GB, free: 6.246 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches