Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_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.001125/0.001126, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.001432/0.001433, allocations: 172.8 kB / 16.27 MB, free: 6.656 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.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.618/2.618, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.904/0.9044, allocations: 142.4 MB / 0.955 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002233/0.9067, allocations: 1.131 MB / 0.9561 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.9075, allocations: 289.3 kB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.9076, allocations: 0 / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.885e-05/0.9076, allocations: 0 / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.9077, allocations: 5.75 kB / 0.9564 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.9081, allocations: 50.84 kB / 0.9565 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.9082, allocations: 30.08 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.9083, allocations: 3.062 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.9084, allocations: 3.844 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.9085, allocations: 15.11 kB / 0.9565 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.9085, allocations: 1.156 kB / 0.9565 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.9088, allocations: 101.6 kB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.9088, allocations: 1.062 kB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.9089, allocations: 45.03 kB / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.9091, allocations: 55.7 kB / 0.9567 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9092, allocations: 1.219 kB / 0.9567 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.399e-06/0.9092, allocations: 0 / 0.9567 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.9092, allocations: 3.938 kB / 0.9567 GB, free: 6.328 MB / 0.7169 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.000532/0.9097, allocations: 350.7 kB / 0.957 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.9098, allocations: 13.52 kB / 0.9571 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.9098, allocations: 9.969 kB / 0.9571 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.91, allocations: 161.5 kB / 0.9572 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.91, allocations: 1.5 kB / 0.9572 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.91, allocations: 13.36 kB / 0.9572 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.9103, allocations: 50.58 kB / 0.9573 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.9103, allocations: 192 / 0.9573 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.9103, allocations: 9.031 kB / 0.9573 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.9103, allocations: 4 kB / 0.9573 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.9106, allocations: 45.14 kB / 0.9573 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.911, allocations: 244.9 kB / 0.9576 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.9112, allocations: 51.47 kB / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.9113, allocations: 27.8 kB / 0.9577 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.9113, allocations: 0 / 0.9577 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.9114, allocations: 40.03 kB / 0.9577 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.492e-06/0.9114, allocations: 0 / 0.9577 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004892/0.9119, allocations: 96.11 kB / 0.9578 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.9119, allocations: 51.41 kB / 0.9578 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.912, allocations: 103.3 kB / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.912, allocations: 25.7 kB / 0.958 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.9121, allocations: 85.17 kB / 0.958 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.9121, allocations: 13.48 kB / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.9122, allocations: 9.719 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.9122, allocations: 312.1 kB / 0.9584 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.9124, allocations: 26.3 kB / 0.9584 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.9125, allocations: 18.55 kB / 0.9584 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.9128, allocations: 57.06 kB / 0.9585 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9128, allocations: 0 / 0.9585 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003095/0.9131, allocations: 77.62 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.9131, allocations: 9.219 kB / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.9131, allocations: 5.5 kB / 0.9585 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.9132, allocations: 0 / 0.9585 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.9133, allocations: 12.03 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.9133, allocations: 0 / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.37e-05/0.9134, allocations: 14.61 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.9134, allocations: 1.812 kB / 0.9586 GB, free: 4.484 MB / 0.7169 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 8.557e-05/0.9135, allocations: 115.8 kB / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.9136, allocations: 4 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/0.9139, allocations: 88.83 kB / 0.9588 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9139, allocations: 0 / 0.9588 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.914, allocations: 4.031 kB / 0.9588 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.914, allocations: 1.75 kB / 0.9588 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.9142, allocations: 161.1 kB / 0.9589 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9142, allocations: 0 / 0.9589 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.9143, allocations: 17.23 kB / 0.9589 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9143, allocations: 0 / 0.9589 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.9143, allocations: 0 / 0.9589 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.9143, allocations: 1.562 kB / 0.9589 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.9143, allocations: 0 / 0.9589 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.9146, allocations: 176.7 kB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.9147, allocations: 78.33 kB / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.9147, allocations: 0 / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.9148, allocations: 13.8 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.9149, allocations: 1.344 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.9149, allocations: 1.375 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.915, allocations: 86.72 kB / 0.9593 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.915, allocations: 0 / 0.9593 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004503/0.9154, allocations: 10.66 kB / 0.9593 GB, free: 3.742 MB / 0.7169 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.0002173/0.9156, allocations: 114.2 kB / 0.9594 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.916, allocations: 51.06 kB / 0.9595 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.916, allocations: 0 / 0.9595 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.9161, allocations: 24.52 kB / 0.9595 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.9166, allocations: 13.73 kB / 0.9595 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.917, allocations: 126 kB / 0.9596 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.9171, allocations: 0.6727 MB / 0.9603 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.9172, allocations: 5.766 kB / 0.9603 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.9172, allocations: 13.31 kB / 0.9603 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.9172, allocations: 3.938 kB / 0.9603 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of Templates: time 0.004293/0.9215, allocations: 0.5199 MB / 0.9608 GB, free: 2.488 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches