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.001173/0.001173, allocations: 105.2 kB / 16.35 MB, free: 6.34 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.001252/0.001252, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.019/2.019, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.56 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2301, allocations: 140.4 MB / 0.9511 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002289/0.2324, allocations: 1.415 MB / 0.9525 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.2329, allocations: 289.1 kB / 0.9528 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.2329, allocations: 0 / 0.9528 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.2329, allocations: 0 / 0.9528 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.233, allocations: 7.938 kB / 0.9528 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.2333, allocations: 63.67 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.529e-05/0.2333, allocations: 23.94 kB / 0.9529 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.2334, allocations: 7.984 kB / 0.9529 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.403e-05/0.2335, allocations: 11.98 kB / 0.9529 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.2335, allocations: 7.922 kB / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.2335, allocations: 4 kB / 0.9529 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.2337, allocations: 87.84 kB / 0.953 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.2337, allocations: 7.938 kB / 0.953 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.2337, allocations: 11.94 kB / 0.953 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2339, allocations: 67.78 kB / 0.9531 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2339, allocations: 4 kB / 0.9531 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2339, allocations: 4 kB / 0.9531 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2339, allocations: 0 / 0.9531 GB, free: 6.102 MB / 0.7325 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.0003914/0.2343, allocations: 343.5 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.2343, allocations: 8.031 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.2344, allocations: 0.9375 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2345, allocations: 172.2 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-06/0.2345, allocations: 384 / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.2345, allocations: 4.375 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2346, allocations: 54.17 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2347, allocations: 192 / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2347, allocations: 3.938 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2347, allocations: 0 / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.2348, allocations: 35.95 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.2351, allocations: 249 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2352, allocations: 42.48 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.2353, allocations: 20.91 kB / 0.954 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.2353, allocations: 3.938 kB / 0.954 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.2353, allocations: 34.5 kB / 0.954 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2353, allocations: 0 / 0.954 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002704/0.2356, allocations: 85.64 kB / 0.9541 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.2356, allocations: 51.41 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.2357, allocations: 101.8 kB / 0.9542 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.2357, allocations: 25.7 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.2358, allocations: 84.14 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.2358, allocations: 4.031 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.2358, allocations: 17.72 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2359, allocations: 314.8 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.236, allocations: 23.91 kB / 0.9547 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.2361, allocations: 15.92 kB / 0.9547 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2362, allocations: 40.89 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2362, allocations: 0 / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001602/0.2364, allocations: 69.78 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2364, allocations: 4 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2364, allocations: 0 / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2364, allocations: 3.984 kB / 0.9548 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.2365, allocations: 11.98 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2365, allocations: 0 / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.2366, allocations: 15.94 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2366, allocations: 7.984 kB / 0.9548 GB, free: 4.062 MB / 0.7325 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 6.669e-05/0.2367, allocations: 117.7 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.2367, allocations: 0 / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.2369, allocations: 68.78 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2369, allocations: 0 / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2369, allocations: 8.031 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2369, allocations: 0 / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2371, allocations: 161.6 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2371, allocations: 0 / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.2371, allocations: 4 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2371, allocations: 0 / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2372, allocations: 4 kB / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2372, allocations: 0 / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2372, allocations: 3.984 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.2374, allocations: 167.4 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.2374, allocations: 81.09 kB / 0.9554 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.2375, allocations: 3.938 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.2375, allocations: 4 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.2376, allocations: 3.984 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2376, allocations: 4 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.2376, allocations: 79.31 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2376, allocations: 0 / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002179/0.2379, allocations: 23.94 kB / 0.9555 GB, free: 3.242 MB / 0.7325 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.0001794/0.238, allocations: 111.2 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.2382, allocations: 35.91 kB / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2382, allocations: 3.938 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.2383, allocations: 24.03 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2386, allocations: 14 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.2388, allocations: 114.7 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.2391, allocations: 0.6805 MB / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.2391, allocations: 4 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.2392, allocations: 7.438 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2392, allocations: 4.062 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of Templates: time 0.002352/0.2415, allocations: 0.592 MB / 0.9571 GB, free: 1.602 MB / 0.7325 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches