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.001597/0.001598, allocations: 108 kB / 15.6 MB, free: 132 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.001773/0.001773, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.452/2.452, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 64.14 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7964, allocations: 140.4 MB / 0.9496 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002398/0.7989, allocations: 1.396 MB / 0.9509 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004547/0.7993, allocations: 291.8 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.7994, allocations: 1.375 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.7994, allocations: 0 / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.7995, allocations: 5.312 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.7997, allocations: 57.61 kB / 0.9513 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.4e-05/0.7998, allocations: 25.5 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.7999, allocations: 12.11 kB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.7999, allocations: 8.125 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.8, allocations: 14.66 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.8, allocations: 6.688 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.8002, allocations: 90.56 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.8002, allocations: 5.25 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.8002, allocations: 10.44 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.8004, allocations: 64.06 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8004, allocations: 0 / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8004, allocations: 7.938 kB / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8004, allocations: 1.562 kB / 0.9515 GB, free: 7.832 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.0004135/0.8008, allocations: 350.7 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8009, allocations: 9.438 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.8009, allocations: 2.375 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.643e-05/0.801, allocations: 169.6 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.801, allocations: 5.422 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.801, allocations: 1.531 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.8012, allocations: 53.42 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8012, allocations: 1.844 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.8012, allocations: 3.938 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.8012, allocations: 3.938 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.8014, allocations: 34.55 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.8017, allocations: 244.7 kB / 0.9523 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.8018, allocations: 47.75 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.8019, allocations: 18.59 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.8019, allocations: 0 / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.8019, allocations: 35.91 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.8019, allocations: 0 / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003148/0.8022, allocations: 84.33 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.8023, allocations: 52.91 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.569e-05/0.8023, allocations: 103.2 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.8023, allocations: 25.7 kB / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/0.8024, allocations: 85.39 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.8024, allocations: 5.281 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.8024, allocations: 19.12 kB / 0.9528 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.8025, allocations: 312.1 kB / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.8025, allocations: 21.62 kB / 0.9531 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.8026, allocations: 12.89 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.8028, allocations: 39.92 kB / 0.9532 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.8028, allocations: 4.062 kB / 0.9532 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001688/0.8029, allocations: 69 kB / 0.9532 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.803, allocations: 4 kB / 0.9532 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.803, allocations: 1.406 kB / 0.9532 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.803, allocations: 3.938 kB / 0.9533 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.8031, allocations: 14.11 kB / 0.9533 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.8031, allocations: 3.938 kB / 0.9533 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.8031, allocations: 12.2 kB / 0.9533 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.8031, allocations: 0 / 0.9533 GB, free: 5.996 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 4.376e-05/0.8032, allocations: 112.7 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.8032, allocations: 5.125 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.8034, allocations: 73.47 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8034, allocations: 1.656 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8034, allocations: 0 / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8034, allocations: 4.031 kB / 0.9535 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.8035, allocations: 161.8 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8036, allocations: 1.5 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.8036, allocations: 5.469 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.8036, allocations: 0 / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.8036, allocations: 1.406 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.8036, allocations: 3.984 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8036, allocations: 0 / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.8038, allocations: 167.7 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.8039, allocations: 85.09 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.8039, allocations: 1.375 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.8039, allocations: 4.25 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.804, allocations: 5.547 kB / 0.9539 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.804, allocations: 0 / 0.9539 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.2e-05/0.804, allocations: 83.52 kB / 0.954 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.804, allocations: 4.031 kB / 0.954 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002292/0.8043, allocations: 13.56 kB / 0.954 GB, free: 5.258 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.0001447/0.8044, allocations: 114.4 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.8046, allocations: 37.42 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8046, allocations: 0 / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.8047, allocations: 23.86 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.805, allocations: 10.5 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.8053, allocations: 117.2 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.801e-05/0.8054, allocations: 0.6804 MB / 0.9549 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.032e-05/0.8054, allocations: 5.188 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.8054, allocations: 16.81 kB / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8054, allocations: 0 / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of Templates: time 0.002577/0.808, allocations: 0.5968 MB / 0.9555 GB, free: 3.98 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