Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_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.009362/0.009362, allocations: 102.5 kB / 15.73 MB, free: 6.047 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.001751/0.001751, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 71.89 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2948, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002685/0.2975, allocations: 1.497 MB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7379/1.035, allocations: 132.1 MB / 1.338 GB, free: 9.496 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/1.036, allocations: 5 kB / 1.338 GB, free: 9.492 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/1.036, allocations: 0.75 kB / 1.338 GB, free: 9.492 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/1.036, allocations: 14.31 kB / 1.338 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/1.036, allocations: 71.53 kB / 1.338 GB, free: 9.445 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/1.036, allocations: 52.22 kB / 1.338 GB, free: 9.422 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/1.036, allocations: 12.7 kB / 1.338 GB, free: 9.418 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/1.036, allocations: 19.75 kB / 1.338 GB, free: 9.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/1.036, allocations: 25.33 kB / 1.338 GB, free: 9.398 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/1.036, allocations: 8.094 kB / 1.338 GB, free: 9.395 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/1.037, allocations: 16.47 kB / 1.338 GB, free: 9.391 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/1.037, allocations: 11.77 kB / 1.338 GB, free: 9.383 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/1.037, allocations: 28.31 kB / 1.338 GB, free: 9.363 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/1.037, allocations: 60.78 kB / 1.338 GB, free: 9.34 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.037, allocations: 1.062 kB / 1.338 GB, free: 9.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/1.037, allocations: 0 / 1.338 GB, free: 9.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.283e-06/1.037, allocations: 0 / 1.338 GB, free: 9.34 MB / 1.045 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.0005217/1.037, allocations: 376 kB / 1.338 GB, free: 8.969 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.037, allocations: 10.17 kB / 1.338 GB, free: 8.969 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/1.037, allocations: 37.41 kB / 1.338 GB, free: 8.926 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/1.037, allocations: 7.219 kB / 1.338 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/1.038, allocations: 173 kB / 1.339 GB, free: 8.719 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/1.038, allocations: 2.594 kB / 1.339 GB, free: 8.719 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.038, allocations: 2.531 kB / 1.339 GB, free: 8.719 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/1.038, allocations: 82.25 kB / 1.339 GB, free: 8.672 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.038, allocations: 3.938 kB / 1.339 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.038, allocations: 5.797 kB / 1.339 GB, free: 8.664 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.038, allocations: 0 / 1.339 GB, free: 8.664 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/1.038, allocations: 69.8 kB / 1.339 GB, free: 8.652 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/1.039, allocations: 288.5 kB / 1.339 GB, free: 8.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/1.039, allocations: 56.73 kB / 1.339 GB, free: 8.328 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/1.039, allocations: 44.88 kB / 1.339 GB, free: 8.309 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/1.039, allocations: 92.33 kB / 1.339 GB, free: 8.211 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.039, allocations: 32.8 kB / 1.339 GB, free: 8.172 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/1.039, allocations: 0 / 1.339 GB, free: 8.172 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005724/1.04, allocations: 129.5 kB / 1.339 GB, free: 8.125 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/1.04, allocations: 52.78 kB / 1.339 GB, free: 8.062 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/1.04, allocations: 121.1 kB / 1.34 GB, free: 7.953 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/1.04, allocations: 29.64 kB / 1.34 GB, free: 7.918 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/1.04, allocations: 91.64 kB / 1.34 GB, free: 7.828 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/1.04, allocations: 10.12 kB / 1.34 GB, free: 7.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/1.04, allocations: 17.81 kB / 1.34 GB, free: 7.801 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/1.04, allocations: 317.9 kB / 1.34 GB, free: 7.484 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/1.04, allocations: 31.16 kB / 1.34 GB, free: 7.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/1.041, allocations: 32.64 kB / 1.34 GB, free: 7.477 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/1.041, allocations: 69.94 kB / 1.34 GB, free: 7.457 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.041, allocations: 2.5 kB / 1.34 GB, free: 7.457 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003517/1.041, allocations: 94.89 kB / 1.34 GB, free: 7.418 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.041, allocations: 5.5 kB / 1.34 GB, free: 7.418 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.041, allocations: 3.938 kB / 1.34 GB, free: 7.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.041, allocations: 5.922 kB / 1.34 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/1.041, allocations: 22.36 kB / 1.34 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.041, allocations: 1.688 kB / 1.34 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/1.041, allocations: 20.55 kB / 1.34 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/1.041, allocations: 1.031 kB / 1.34 GB, free: 7.395 MB / 1.045 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 6.979e-05/1.042, allocations: 116.6 kB / 1.34 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/1.042, allocations: 3.125 kB / 1.34 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/1.042, allocations: 109.9 kB / 1.34 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.042, allocations: 1.188 kB / 1.34 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/1.042, allocations: 0 / 1.34 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.042, allocations: 0.6094 kB / 1.34 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/1.042, allocations: 173.7 kB / 1.341 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.042, allocations: 0 / 1.341 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/1.042, allocations: 24.09 kB / 1.341 GB, free: 7.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.042, allocations: 1.281 kB / 1.341 GB, free: 7.008 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/1.042, allocations: 0.5625 kB / 1.341 GB, free: 7.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.042, allocations: 1.516 kB / 1.341 GB, free: 7.008 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.042, allocations: 0 / 1.341 GB, free: 7.008 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/1.043, allocations: 207.2 kB / 1.341 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/1.043, allocations: 83.98 kB / 1.341 GB, free: 6.754 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/1.043, allocations: 1.75 kB / 1.341 GB, free: 6.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/1.043, allocations: 15.2 kB / 1.341 GB, free: 6.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/1.043, allocations: 3.938 kB / 1.341 GB, free: 6.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/1.043, allocations: 1.125 kB / 1.341 GB, free: 6.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.567e-05/1.043, allocations: 92.27 kB / 1.341 GB, free: 6.672 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.043, allocations: 0.9375 kB / 1.341 GB, free: 6.672 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002442/1.043, allocations: 11.16 kB / 1.341 GB, free: 6.672 MB / 1.045 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.0007126/1.044, allocations: 0.743 MB / 1.342 GB, free: 5.992 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003709/1.044, allocations: 71.81 kB / 1.342 GB, free: 5.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.044, allocations: 0 / 1.342 GB, free: 5.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/1.045, allocations: 41.83 kB / 1.342 GB, free: 5.969 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/1.045, allocations: 12.5 kB / 1.342 GB, free: 5.965 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/1.047, allocations: 1.428 MB / 1.343 GB, free: 4.727 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/1.047, allocations: 0.6864 MB / 1.344 GB, free: 4.027 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.923e-05/1.047, allocations: 2.969 kB / 1.344 GB, free: 4.027 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/1.047, allocations: 19.03 kB / 1.344 GB, free: 4.012 MB / 1.045 GB Notification: Performance of SimCode: time 2.51e-07/1.047, allocations: 0.9688 kB / 1.344 GB, free: 4.012 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/1.065, allocations: 2.106 MB / 1.346 GB, free: 3.598 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/8.654, allocations: 9.234 kB / 1.346 GB, free: 3.59 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches