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.001122/0.001122, allocations: 112.5 kB / 15.73 MB, free: 80 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.00112/0.00112, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.401/1.401, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.868/2.868, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 55.91 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002629/0.3438, allocations: 1.493 MB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9132/1.257, allocations: 132.1 MB / 1.338 GB, free: 9.531 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/1.257, allocations: 1.344 kB / 1.338 GB, free: 9.531 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/1.257, allocations: 5.203 kB / 1.338 GB, free: 9.527 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/1.257, allocations: 11.67 kB / 1.338 GB, free: 9.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/1.258, allocations: 69.11 kB / 1.338 GB, free: 9.484 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000138/1.258, allocations: 55.83 kB / 1.338 GB, free: 9.457 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/1.258, allocations: 20.75 kB / 1.338 GB, free: 9.449 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/1.258, allocations: 23.58 kB / 1.338 GB, free: 9.438 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/1.258, allocations: 21.31 kB / 1.338 GB, free: 9.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/1.258, allocations: 4.312 kB / 1.338 GB, free: 9.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/1.259, allocations: 17.19 kB / 1.338 GB, free: 9.426 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/1.259, allocations: 7.578 kB / 1.338 GB, free: 9.422 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/1.259, allocations: 23.33 kB / 1.338 GB, free: 9.406 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/1.259, allocations: 63.36 kB / 1.338 GB, free: 9.383 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.259, allocations: 0 / 1.338 GB, free: 9.383 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/1.259, allocations: 0 / 1.338 GB, free: 9.383 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.259, allocations: 5.094 kB / 1.338 GB, free: 9.379 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.000609/1.259, allocations: 376.2 kB / 1.339 GB, free: 9.008 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.26, allocations: 10.55 kB / 1.339 GB, free: 9.008 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/1.26, allocations: 5 kB / 1.339 GB, free: 9.008 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/1.26, allocations: 173.9 kB / 1.339 GB, free: 8.805 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/1.26, allocations: 1.75 kB / 1.339 GB, free: 8.805 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/1.26, allocations: 2.562 kB / 1.339 GB, free: 8.805 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/1.26, allocations: 76.91 kB / 1.339 GB, free: 8.762 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.26, allocations: 192 / 1.339 GB, free: 8.762 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/1.26, allocations: 7.938 kB / 1.339 GB, free: 8.754 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.26, allocations: 1.938 kB / 1.339 GB, free: 8.754 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/1.261, allocations: 68.5 kB / 1.339 GB, free: 8.742 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/1.261, allocations: 292.5 kB / 1.339 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/1.261, allocations: 59.27 kB / 1.339 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/1.261, allocations: 41.39 kB / 1.34 GB, free: 8.395 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.262, allocations: 97.19 kB / 1.34 GB, free: 8.293 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.262, allocations: 36.34 kB / 1.34 GB, free: 8.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 4.038e-06/1.262, allocations: 0 / 1.34 GB, free: 8.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005601/1.262, allocations: 128.9 kB / 1.34 GB, free: 8.203 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.262, allocations: 56.53 kB / 1.34 GB, free: 8.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/1.262, allocations: 122.3 kB / 1.34 GB, free: 8.027 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.263, allocations: 30.83 kB / 1.34 GB, free: 7.992 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/1.263, allocations: 91.31 kB / 1.34 GB, free: 7.902 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/1.263, allocations: 6.25 kB / 1.34 GB, free: 7.898 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/1.263, allocations: 17.36 kB / 1.34 GB, free: 7.879 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.263, allocations: 318 kB / 1.34 GB, free: 7.562 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/1.263, allocations: 35.58 kB / 1.34 GB, free: 7.555 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/1.263, allocations: 31.39 kB / 1.34 GB, free: 7.551 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/1.263, allocations: 71.2 kB / 1.34 GB, free: 7.531 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.263, allocations: 0 / 1.34 GB, free: 7.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003262/1.264, allocations: 101.2 kB / 1.341 GB, free: 7.488 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.264, allocations: 4.5 kB / 1.341 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.264, allocations: 1.75 kB / 1.341 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.264, allocations: 0 / 1.341 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/1.264, allocations: 15.3 kB / 1.341 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/1.264, allocations: 3.859 kB / 1.341 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/1.264, allocations: 24 kB / 1.341 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/1.264, allocations: 1.062 kB / 1.341 GB, free: 7.477 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 8.372e-05/1.264, allocations: 116.7 kB / 1.341 GB, free: 7.355 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/1.264, allocations: 3.219 kB / 1.341 GB, free: 7.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/1.265, allocations: 109.2 kB / 1.341 GB, free: 7.297 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.265, allocations: 5.797 kB / 1.341 GB, free: 7.293 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.265, allocations: 0 / 1.341 GB, free: 7.293 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.265, allocations: 0 / 1.341 GB, free: 7.293 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/1.265, allocations: 174.5 kB / 1.341 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.265, allocations: 0.5625 kB / 1.341 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.657e-05/1.265, allocations: 15.34 kB / 1.341 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.265, allocations: 1.125 kB / 1.341 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/1.265, allocations: 0 / 1.341 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.265, allocations: 2.609 kB / 1.341 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.265, allocations: 0 / 1.341 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/1.265, allocations: 208 kB / 1.341 GB, free: 6.938 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/1.265, allocations: 78.89 kB / 1.341 GB, free: 6.844 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/1.265, allocations: 1.625 kB / 1.341 GB, free: 6.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/1.266, allocations: 14.7 kB / 1.341 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/1.266, allocations: 16.08 kB / 1.341 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/1.266, allocations: 5.312 kB / 1.341 GB, free: 6.828 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.905e-05/1.266, allocations: 96.25 kB / 1.341 GB, free: 6.746 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.266, allocations: 0 / 1.341 GB, free: 6.746 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003249/1.266, allocations: 16.16 kB / 1.341 GB, free: 6.742 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.0002031/1.266, allocations: 105.4 kB / 1.342 GB, free: 6.656 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003726/1.267, allocations: 71.59 kB / 1.342 GB, free: 6.645 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.267, allocations: 0 / 1.342 GB, free: 6.645 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/1.267, allocations: 42.03 kB / 1.342 GB, free: 6.633 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/1.267, allocations: 14.19 kB / 1.342 GB, free: 6.629 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/1.268, allocations: 164 kB / 1.342 GB, free: 6.488 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/1.268, allocations: 0.6843 MB / 1.343 GB, free: 5.793 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.127e-05/1.268, allocations: 1.891 kB / 1.343 GB, free: 5.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/1.268, allocations: 10.5 kB / 1.343 GB, free: 5.785 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/1.268, allocations: 1.094 kB / 1.343 GB, free: 5.785 MB / 1.045 GB Notification: Performance of Templates: time 0.003841/1.272, allocations: 1.007 MB / 1.344 GB, free: 5.68 MB / 1.045 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/jenkins/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