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: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 108 kB / 16.41 MB, free: 6.027 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.001933/0.001933, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 63.91 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9104/0.912, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003279/0.9154, allocations: 1.501 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1486/1.064, allocations: 132.1 MB / 1.339 GB, free: 7.574 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/1.064, allocations: 0 / 1.339 GB, free: 7.574 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/1.064, allocations: 3.938 kB / 1.339 GB, free: 7.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/1.064, allocations: 15.86 kB / 1.339 GB, free: 7.555 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/1.065, allocations: 67.72 kB / 1.339 GB, free: 7.488 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/1.065, allocations: 55.78 kB / 1.339 GB, free: 7.434 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/1.065, allocations: 19.78 kB / 1.339 GB, free: 7.418 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/1.065, allocations: 19.92 kB / 1.339 GB, free: 7.398 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/1.065, allocations: 27.86 kB / 1.339 GB, free: 7.371 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/1.065, allocations: 7.984 kB / 1.339 GB, free: 7.363 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/1.065, allocations: 19.98 kB / 1.339 GB, free: 7.344 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/1.065, allocations: 4 kB / 1.339 GB, free: 7.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/1.065, allocations: 23.86 kB / 1.339 GB, free: 7.316 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/1.065, allocations: 59.81 kB / 1.339 GB, free: 7.258 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.065, allocations: 0 / 1.339 GB, free: 7.258 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.065, allocations: 3.938 kB / 1.339 GB, free: 7.254 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.065, allocations: 0 / 1.339 GB, free: 7.254 MB / 1.061 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.0005765/1.066, allocations: 373.1 kB / 1.34 GB, free: 6.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.066, allocations: 12.03 kB / 1.34 GB, free: 6.828 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/1.066, allocations: 4.922 kB / 1.34 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.066, allocations: 180.2 kB / 1.34 GB, free: 6.609 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/1.066, allocations: 384 / 1.34 GB, free: 6.609 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/1.066, allocations: 8.375 kB / 1.34 GB, free: 6.602 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/1.067, allocations: 70.22 kB / 1.34 GB, free: 6.527 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.067, allocations: 4.172 kB / 1.34 GB, free: 6.523 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.067, allocations: 3.938 kB / 1.34 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.067, allocations: 3.984 kB / 1.34 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/1.067, allocations: 75.86 kB / 1.34 GB, free: 6.441 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/1.067, allocations: 276.8 kB / 1.34 GB, free: 6.121 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/1.068, allocations: 54.53 kB / 1.34 GB, free: 6.059 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/1.068, allocations: 44.92 kB / 1.34 GB, free: 6.012 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/1.068, allocations: 89.09 kB / 1.34 GB, free: 5.906 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/1.068, allocations: 38.48 kB / 1.34 GB, free: 5.859 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/1.068, allocations: 0 / 1.34 GB, free: 5.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005553/1.069, allocations: 125.6 kB / 1.34 GB, free: 5.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/1.069, allocations: 59.34 kB / 1.341 GB, free: 5.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/1.069, allocations: 121.8 kB / 1.341 GB, free: 5.531 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/1.069, allocations: 25.7 kB / 1.341 GB, free: 5.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/1.069, allocations: 92.05 kB / 1.341 GB, free: 5.406 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/1.069, allocations: 7.844 kB / 1.341 GB, free: 5.398 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/1.069, allocations: 21.72 kB / 1.341 GB, free: 5.371 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.069, allocations: 322.8 kB / 1.341 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/1.069, allocations: 27.97 kB / 1.341 GB, free: 5.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/1.069, allocations: 35.89 kB / 1.341 GB, free: 4.984 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/1.07, allocations: 68.8 kB / 1.341 GB, free: 4.914 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.07, allocations: 0 / 1.341 GB, free: 4.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003526/1.07, allocations: 101.6 kB / 1.341 GB, free: 4.809 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.07, allocations: 6.188 kB / 1.341 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.07, allocations: 0 / 1.341 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.07, allocations: 4 kB / 1.341 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/1.07, allocations: 15.98 kB / 1.341 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.07, allocations: 0 / 1.341 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/1.07, allocations: 19.83 kB / 1.341 GB, free: 4.766 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/1.07, allocations: 0 / 1.341 GB, free: 4.766 MB / 1.061 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.355e-05/1.07, allocations: 125.7 kB / 1.341 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/1.07, allocations: 4 kB / 1.341 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/1.071, allocations: 101.5 kB / 1.342 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.071, allocations: 4 kB / 1.342 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.071, allocations: 0 / 1.342 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/1.071, allocations: 0 / 1.342 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/1.071, allocations: 177.6 kB / 1.342 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.071, allocations: 4 kB / 1.342 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/1.071, allocations: 19.98 kB / 1.342 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.071, allocations: 0 / 1.342 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/1.071, allocations: 4 kB / 1.342 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/1.071, allocations: 0 / 1.342 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.071, allocations: 384 / 1.342 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/1.072, allocations: 207.2 kB / 1.342 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/1.072, allocations: 77.11 kB / 1.342 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/1.072, allocations: 4 kB / 1.342 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/1.072, allocations: 15.98 kB / 1.342 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/1.072, allocations: 7.984 kB / 1.342 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/1.072, allocations: 0 / 1.342 GB, free: 3.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.472e-05/1.072, allocations: 95.2 kB / 1.342 GB, free: 3.824 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.01e-07/1.072, allocations: 0 / 1.342 GB, free: 3.824 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002674/1.072, allocations: 19.91 kB / 1.342 GB, free: 3.805 MB / 1.061 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.0001709/1.072, allocations: 111.2 kB / 1.342 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000367/1.073, allocations: 71.8 kB / 1.342 GB, free: 3.617 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.073, allocations: 0 / 1.342 GB, free: 3.617 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/1.073, allocations: 35.97 kB / 1.342 GB, free: 3.582 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/1.073, allocations: 23.91 kB / 1.342 GB, free: 3.559 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/1.074, allocations: 177.3 kB / 1.343 GB, free: 3.352 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.074, allocations: 0.6807 MB / 1.343 GB, free: 2.645 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/1.074, allocations: 15.44 kB / 1.343 GB, free: 2.629 MB / 1.061 GB Notification: Performance of SimCode: time 1.723e-06/1.074, allocations: 0 / 1.343 GB, free: 2.629 MB / 1.061 GB Notification: Performance of Templates: time 0.002452/1.076, allocations: 0.9349 MB / 1.344 GB, free: 1.703 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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