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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008826/0.0008827, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008914/0.0008915, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004115, allocations: 15.94 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8976, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001527/0.8992, allocations: 1.121 MB / 0.9555 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005374/0.8998, allocations: 273.7 kB / 0.9558 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.8998, allocations: 0 / 0.9558 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.8998, allocations: 0 / 0.9558 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.8999, allocations: 4.969 kB / 0.9558 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.9002, allocations: 48.59 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.9003, allocations: 24.05 kB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.9004, allocations: 2.344 kB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.9005, allocations: 11.44 kB / 0.9559 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.9005, allocations: 11.28 kB / 0.9559 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.9006, allocations: 1.469 kB / 0.9559 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.9008, allocations: 94.19 kB / 0.956 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.435e-06/0.9008, allocations: 3.938 kB / 0.956 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.9008, allocations: 27.64 kB / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.9009, allocations: 51.3 kB / 0.956 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.901, allocations: 4 kB / 0.9561 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.901, allocations: 0 / 0.9561 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.901, allocations: 0 / 0.9561 GB, free: 6.484 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.0003997/0.9014, allocations: 358.8 kB / 0.9564 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9014, allocations: 14.22 kB / 0.9564 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.9015, allocations: 0.9375 kB / 0.9564 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.596e-05/0.9016, allocations: 160.3 kB / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.9016, allocations: 5.188 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.9016, allocations: 1.25 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.9018, allocations: 53.48 kB / 0.9566 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.9018, allocations: 0 / 0.9566 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.9018, allocations: 1.219 kB / 0.9566 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.9019, allocations: 3.953 kB / 0.9566 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.902, allocations: 48.55 kB / 0.9567 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.9024, allocations: 245.3 kB / 0.9569 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.9025, allocations: 49.52 kB / 0.957 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.9026, allocations: 26.69 kB / 0.957 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.9026, allocations: 0.9688 kB / 0.957 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.9027, allocations: 35.67 kB / 0.957 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.9027, allocations: 0 / 0.957 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000357/0.903, allocations: 107.1 kB / 0.9571 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.9031, allocations: 51.41 kB / 0.9572 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.385e-05/0.9031, allocations: 106.6 kB / 0.9573 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.9031, allocations: 26.61 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.9032, allocations: 85.05 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.9032, allocations: 4.844 kB / 0.9574 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.9032, allocations: 0 / 0.9574 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.9033, allocations: 316 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.9034, allocations: 22.84 kB / 0.9577 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.9034, allocations: 25.89 kB / 0.9577 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.557e-05/0.9035, allocations: 17.86 kB / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9035, allocations: 0 / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000179/0.9037, allocations: 82.09 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9037, allocations: 6.125 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9038, allocations: 3.953 kB / 0.9578 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.9038, allocations: 192 / 0.9578 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-05/0.9039, allocations: 13.02 kB / 0.9578 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9039, allocations: 7.969 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.9039, allocations: 6.406 kB / 0.9579 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.9039, allocations: 7.922 kB / 0.9579 GB, free: 4.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.904, allocations: 116.6 kB / 0.958 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.904, allocations: 9.5 kB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.9042, allocations: 84.06 kB / 0.9581 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.9043, allocations: 3.953 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9043, allocations: 4 kB / 0.9581 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9043, allocations: 1.156 kB / 0.9581 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.9044, allocations: 157.2 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9044, allocations: 1.531 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.9045, allocations: 15.83 kB / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.9045, allocations: 0 / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.9045, allocations: 1.375 kB / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9045, allocations: 0 / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9045, allocations: 3.953 kB / 0.9582 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.9047, allocations: 173 kB / 0.9584 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.9047, allocations: 78.83 kB / 0.9585 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.9048, allocations: 7.984 kB / 0.9585 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.9048, allocations: 5.625 kB / 0.9585 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.9049, allocations: 5.641 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.9049, allocations: 5.859 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.23e-05/0.9049, allocations: 77.22 kB / 0.9586 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9049, allocations: 4 kB / 0.9586 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002323/0.9052, allocations: 14.81 kB / 0.9586 GB, free: 3.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001581/0.9053, allocations: 114.2 kB / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.9055, allocations: 50.97 kB / 0.9588 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9055, allocations: 0 / 0.9588 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.688e-05/0.9056, allocations: 24.69 kB / 0.9588 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.9059, allocations: 1.375 kB / 0.9588 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.9062, allocations: 129.3 kB / 0.9589 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.9063, allocations: 0.681 MB / 0.9596 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.9063, allocations: 5.312 kB / 0.9596 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.9063, allocations: 8.812 kB / 0.9596 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9063, allocations: 0 / 0.9596 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of Templates: time 0.002876/0.9092, allocations: 0.5212 MB / 0.9601 GB, free: 2.68 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