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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00719/0.00719, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.00181/0.00181, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 59.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3386, allocations: 162.3 MB / 1.242 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002863/0.3415, allocations: 1.5 MB / 1.243 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7455/1.087, allocations: 132.1 MB / 1.372 GB, free: 2.398 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/1.087, allocations: 1.531 kB / 1.372 GB, free: 2.398 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/1.087, allocations: 4.688 kB / 1.372 GB, free: 2.395 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/1.087, allocations: 14.84 kB / 1.372 GB, free: 2.383 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/1.088, allocations: 60.7 kB / 1.372 GB, free: 2.355 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/1.088, allocations: 59.73 kB / 1.372 GB, free: 2.324 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/1.088, allocations: 14.05 kB / 1.372 GB, free: 2.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/1.088, allocations: 22.47 kB / 1.372 GB, free: 2.309 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/1.088, allocations: 28.72 kB / 1.372 GB, free: 2.293 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/1.088, allocations: 4.219 kB / 1.372 GB, free: 2.293 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/1.088, allocations: 17.3 kB / 1.372 GB, free: 2.289 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/1.088, allocations: 7.812 kB / 1.372 GB, free: 2.285 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/1.088, allocations: 23.78 kB / 1.373 GB, free: 2.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/1.088, allocations: 69.33 kB / 1.373 GB, free: 2.238 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.088, allocations: 1.578 kB / 1.373 GB, free: 2.238 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.152e-06/1.088, allocations: 0 / 1.373 GB, free: 2.238 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.088, allocations: 0 / 1.373 GB, free: 2.238 MB / 1.076 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.0005773/1.089, allocations: 369.5 kB / 1.373 GB, free: 1.867 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/1.089, allocations: 9.406 kB / 1.373 GB, free: 1.867 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/1.089, allocations: 40.36 kB / 1.373 GB, free: 1.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/1.089, allocations: 8.625 kB / 1.373 GB, free: 1.816 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/1.089, allocations: 176.9 kB / 1.373 GB, free: 1.609 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/1.089, allocations: 1.531 kB / 1.373 GB, free: 1.609 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/1.089, allocations: 2.312 kB / 1.373 GB, free: 1.609 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/1.09, allocations: 76.31 kB / 1.373 GB, free: 1.566 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.09, allocations: 4.875 kB / 1.373 GB, free: 1.562 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/1.09, allocations: 0 / 1.373 GB, free: 1.562 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/1.09, allocations: 1.094 kB / 1.373 GB, free: 1.562 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/1.09, allocations: 74.16 kB / 1.373 GB, free: 1.547 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/1.09, allocations: 282.5 kB / 1.374 GB, free: 1.258 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/1.091, allocations: 51.23 kB / 1.374 GB, free: 1.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/1.091, allocations: 41.05 kB / 1.374 GB, free: 1.215 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.091, allocations: 93.78 kB / 1.374 GB, free: 1.117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/1.091, allocations: 38.17 kB / 1.374 GB, free: 1.074 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.091, allocations: 0 / 1.374 GB, free: 1.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005893/1.092, allocations: 129.3 kB / 1.374 GB, free: 1.027 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/1.092, allocations: 52.47 kB / 1.374 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.092, allocations: 118.8 kB / 1.374 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/1.092, allocations: 25.7 kB / 1.374 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/1.092, allocations: 95.75 kB / 1.374 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/1.092, allocations: 14.66 kB / 1.374 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/1.092, allocations: 22.23 kB / 1.374 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.092, allocations: 317.8 kB / 1.375 GB, free: 392 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/1.092, allocations: 34.55 kB / 1.375 GB, free: 384 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/1.092, allocations: 31.36 kB / 1.375 GB, free: 380 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/1.093, allocations: 79.28 kB / 1.375 GB, free: 352 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/1.093, allocations: 0 / 1.375 GB, free: 352 kB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003341/1.093, allocations: 100 kB / 1.375 GB, free: 308 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.093, allocations: 4.453 kB / 1.375 GB, free: 308 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.093, allocations: 1.094 kB / 1.375 GB, free: 308 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/1.093, allocations: 0.6562 kB / 1.375 GB, free: 308 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/1.093, allocations: 24.36 kB / 1.375 GB, free: 300 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/1.093, allocations: 1.125 kB / 1.375 GB, free: 300 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/1.093, allocations: 11.81 kB / 1.375 GB, free: 300 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/1.093, allocations: 1.031 kB / 1.375 GB, free: 300 kB / 1.076 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 9.136e-05/1.093, allocations: 113.3 kB / 1.375 GB, free: 180 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/1.093, allocations: 2.812 kB / 1.375 GB, free: 180 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/1.094, allocations: 113.6 kB / 1.375 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.094, allocations: 1.062 kB / 1.375 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/1.094, allocations: 0 / 1.375 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.094, allocations: 1.812 kB / 1.375 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/1.094, allocations: 175.8 kB / 1.375 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.094, allocations: 1.281 kB / 1.375 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.661e-05/1.094, allocations: 16.05 kB / 1.375 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/1.094, allocations: 8.5 kB / 1.375 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/1.094, allocations: 1.25 kB / 1.375 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.094, allocations: 0 / 1.375 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.094, allocations: 1.797 kB / 1.375 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/1.095, allocations: 200 kB / 1.375 GB, free: 15.76 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/1.095, allocations: 87.02 kB / 1.376 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/1.095, allocations: 1.219 kB / 1.376 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/1.095, allocations: 15.44 kB / 1.376 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/1.095, allocations: 4.391 kB / 1.376 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/1.095, allocations: 1.25 kB / 1.376 GB, free: 15.65 MB / 1.092 GB Notification: Performance of sorting global known variables: time 6.249e-05/1.095, allocations: 94.02 kB / 1.376 GB, free: 15.57 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.235e-06/1.095, allocations: 0 / 1.376 GB, free: 15.57 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000234/1.095, allocations: 20.69 kB / 1.376 GB, free: 15.57 MB / 1.092 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.0007926/1.096, allocations: 0.7392 MB / 1.376 GB, free: 14.89 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000347/1.096, allocations: 71.42 kB / 1.376 GB, free: 14.88 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.096, allocations: 1.062 kB / 1.376 GB, free: 14.88 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/1.097, allocations: 38.66 kB / 1.376 GB, free: 14.87 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/1.097, allocations: 7.609 kB / 1.376 GB, free: 14.87 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/1.099, allocations: 1.433 MB / 1.378 GB, free: 13.63 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/1.099, allocations: 0.6825 MB / 1.379 GB, free: 12.93 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 4.09e-05/1.099, allocations: 10.2 kB / 1.379 GB, free: 12.93 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/1.099, allocations: 19.78 kB / 1.379 GB, free: 12.91 MB / 1.092 GB Notification: Performance of SimCode: time 3.5e-07/1.099, allocations: 0 / 1.379 GB, free: 12.91 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/1.136, allocations: 2.072 MB / 1.381 GB, free: 12.51 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/9.147, allocations: 11.66 kB / 1.381 GB, free: 12.5 MB / 1.092 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=400 --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