Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 98.94 kB / 16.27 MB, free: 5.965 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.001325/0.001325, allocations: 190.7 kB / 17.2 MB, free: 5.586 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 74.72 kB / 0.9245 GB, free: 20 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9012/0.9033, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.004013/0.9074, allocations: 1.403 MB / 1.084 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006347/0.9081, allocations: 292.3 kB / 1.085 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.9081, allocations: 1.125 kB / 1.085 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.9082, allocations: 0 / 1.085 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.9083, allocations: 13.38 kB / 1.085 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.9086, allocations: 55.83 kB / 1.085 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.338e-05/0.9087, allocations: 25.09 kB / 1.085 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.9088, allocations: 4.875 kB / 1.085 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.396e-05/0.9088, allocations: 12.41 kB / 1.085 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.9089, allocations: 8.078 kB / 1.085 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.9089, allocations: 1.531 kB / 1.085 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.9092, allocations: 86.47 kB / 1.085 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.9092, allocations: 9.719 kB / 1.085 GB, free: 400 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.9092, allocations: 15.48 kB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.9094, allocations: 65.31 kB / 1.085 GB, free: 368 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9094, allocations: 1.312 kB / 1.085 GB, free: 368 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9094, allocations: 0 / 1.085 GB, free: 368 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.9094, allocations: 0 / 1.085 GB, free: 368 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000487/0.9099, allocations: 348.6 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.91, allocations: 10.33 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.91, allocations: 6.188 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.9102, allocations: 167 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.9102, allocations: 9.203 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.9102, allocations: 1.531 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.9104, allocations: 48.7 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.9104, allocations: 2.156 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.9105, allocations: 7.875 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.9105, allocations: 0 / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.9107, allocations: 37.7 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.9111, allocations: 250 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.9112, allocations: 40.78 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.9113, allocations: 20.38 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.9114, allocations: 0 / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.9114, allocations: 44.47 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.9114, allocations: 0 / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003842/0.9118, allocations: 83.72 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.9119, allocations: 52.02 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.912, allocations: 101.5 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.912, allocations: 25.7 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.9121, allocations: 90.05 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.9121, allocations: 5.531 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.9121, allocations: 17.55 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9123, allocations: 313.3 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.9124, allocations: 16.91 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.9125, allocations: 15.3 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.9127, allocations: 44.81 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9127, allocations: 0 / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/0.9129, allocations: 67.08 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9129, allocations: 5.328 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9129, allocations: 1.375 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9129, allocations: 0 / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.913, allocations: 13.64 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.913, allocations: 0 / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.9131, allocations: 10.48 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.9131, allocations: 0.7031 kB / 1.087 GB, free: 14.62 MB / 0.8419 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 (2): * Single equations (assignments): 2 * 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 0.0001004/0.9132, allocations: 112.7 kB / 1.087 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.9132, allocations: 1.156 kB / 1.087 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.9135, allocations: 78.92 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.9135, allocations: 0.75 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9135, allocations: 1.438 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.9135, allocations: 0 / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.9137, allocations: 160.1 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9137, allocations: 0.7031 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.9138, allocations: 12.53 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.9138, allocations: 0 / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.9138, allocations: 0.75 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.9138, allocations: 1.766 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9139, allocations: 8.031 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.9141, allocations: 170.4 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.9142, allocations: 83.03 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.9142, allocations: 0.6562 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.9143, allocations: 6.125 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.9144, allocations: 7.438 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.9144, allocations: 0.5625 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.9144, allocations: 83.55 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9144, allocations: 0 / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002456/0.9147, allocations: 19.34 kB / 1.087 GB, free: 13.92 MB / 0.8419 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 (2): * Single equations (assignments): 2 * 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.0002158/0.9149, allocations: 106.3 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.9152, allocations: 40.39 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9152, allocations: 0 / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.9153, allocations: 20.36 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.9155, allocations: 10 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.9159, allocations: 140 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.9163, allocations: 0.6797 MB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.9163, allocations: 8.781 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.9163, allocations: 1.531 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.002872/0.9192, allocations: 0.6836 MB / 1.089 GB, free: 12.91 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches