Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_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.007103/0.007103, allocations: 102.8 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 190.4 kB / 16.67 MB, free: 6.379 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.362/2.362, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 58.72 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2536, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00248/0.2561, allocations: 1.493 MB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.3868, allocations: 132.1 MB / 1.218 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.3869, allocations: 0 / 1.218 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.387, allocations: 3.938 kB / 1.218 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.168e-05/0.3871, allocations: 11.88 kB / 1.218 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.3875, allocations: 62.53 kB / 1.218 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3876, allocations: 63.59 kB / 1.218 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.3877, allocations: 19.98 kB / 1.218 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.3877, allocations: 15.94 kB / 1.218 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.3878, allocations: 27.91 kB / 1.218 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3878, allocations: 4 kB / 1.218 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.3879, allocations: 16 kB / 1.218 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.3879, allocations: 11.92 kB / 1.218 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.388, allocations: 15.92 kB / 1.218 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3881, allocations: 63.75 kB / 1.218 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3881, allocations: 3.984 kB / 1.218 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3882, allocations: 0 / 1.218 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3882, allocations: 4 kB / 1.218 GB, free: 11.6 MB / 0.9825 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.0005307/0.3887, allocations: 373.9 kB / 1.219 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3888, allocations: 12.03 kB / 1.219 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.3888, allocations: 34.75 kB / 1.219 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.3888, allocations: 8.828 kB / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.389, allocations: 168.3 kB / 1.219 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.389, allocations: 4.375 kB / 1.219 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.389, allocations: 384 / 1.219 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.3893, allocations: 82.19 kB / 1.219 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3893, allocations: 3.938 kB / 1.219 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.3893, allocations: 3.938 kB / 1.219 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3893, allocations: 7.938 kB / 1.219 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.3896, allocations: 67.92 kB / 1.219 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.39, allocations: 288.7 kB / 1.219 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.3902, allocations: 58.47 kB / 1.219 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.3904, allocations: 44.84 kB / 1.219 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.3906, allocations: 89.11 kB / 1.219 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3906, allocations: 34.55 kB / 1.219 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.3906, allocations: 0 / 1.219 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005492/0.3912, allocations: 129.6 kB / 1.22 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.3912, allocations: 55.41 kB / 1.22 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.3913, allocations: 113.8 kB / 1.22 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.3913, allocations: 25.7 kB / 1.22 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.3914, allocations: 92.14 kB / 1.22 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.3914, allocations: 7.812 kB / 1.22 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3914, allocations: 13.72 kB / 1.22 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.3915, allocations: 330.7 kB / 1.22 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3917, allocations: 31.97 kB / 1.22 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3918, allocations: 35.95 kB / 1.22 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.3921, allocations: 68.78 kB / 1.22 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3921, allocations: 4 kB / 1.22 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003278/0.3925, allocations: 93.91 kB / 1.22 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3925, allocations: 9.719 kB / 1.22 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3925, allocations: 0 / 1.22 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3925, allocations: 0 / 1.22 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3926, allocations: 12.03 kB / 1.22 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3926, allocations: 7.938 kB / 1.22 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.996e-05/0.3927, allocations: 15.97 kB / 1.22 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3927, allocations: 7.984 kB / 1.22 GB, free: 9.062 MB / 0.9825 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.106e-05/0.3928, allocations: 113.8 kB / 1.221 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.3929, allocations: 7.906 kB / 1.221 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.3932, allocations: 109.5 kB / 1.221 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3933, allocations: 0 / 1.221 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3933, allocations: 0 / 1.221 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3933, allocations: 0 / 1.221 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3934, allocations: 173.6 kB / 1.221 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3935, allocations: 0 / 1.221 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.87e-05/0.3936, allocations: 15.98 kB / 1.221 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3936, allocations: 3.938 kB / 1.221 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3936, allocations: 0 / 1.221 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3936, allocations: 3.938 kB / 1.221 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3936, allocations: 8 kB / 1.221 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.394, allocations: 199.3 kB / 1.221 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.394, allocations: 84.98 kB / 1.221 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.394, allocations: 4 kB / 1.221 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3942, allocations: 11.98 kB / 1.221 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.3942, allocations: 11.98 kB / 1.221 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3942, allocations: 0 / 1.221 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.3943, allocations: 91.27 kB / 1.221 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3943, allocations: 0 / 1.221 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002398/0.3945, allocations: 12 kB / 1.221 GB, free: 8.121 MB / 0.9825 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.000682/0.3952, allocations: 0.7435 MB / 1.222 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.3956, allocations: 63.92 kB / 1.222 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3956, allocations: 8 kB / 1.222 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.3958, allocations: 39.89 kB / 1.222 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3961, allocations: 12 kB / 1.222 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.398, allocations: 1.425 MB / 1.223 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.3982, allocations: 0.6846 MB / 1.224 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.3983, allocations: 0 / 1.224 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.3983, allocations: 27.42 kB / 1.224 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3983, allocations: 0 / 1.224 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.4153, allocations: 2.099 MB / 1.226 GB, free: 3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.636, allocations: 5.094 kB / 1.226 GB, free: 2.996 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches