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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006291/0.006291, allocations: 103.1 kB / 15.73 MB, free: 6.484 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.00148/0.00148, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.28 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2484, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002382/0.2509, allocations: 1.419 MB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005157/0.2514, allocations: 291 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.2514, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.2515, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.2515, allocations: 7.938 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.2519, allocations: 55.73 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.791e-05/0.2519, allocations: 23.92 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.122e-05/0.252, allocations: 7.984 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/0.2521, allocations: 11.94 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.2521, allocations: 11.98 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.2521, allocations: 0 / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.2523, allocations: 87.84 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.2523, allocations: 7.938 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.2524, allocations: 8 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2525, allocations: 78.61 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2526, allocations: 4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2526, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2526, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 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.0004179/0.253, allocations: 340.3 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.253, allocations: 12.03 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.2531, allocations: 34.75 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.2531, allocations: 4.844 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2532, allocations: 168.4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.2532, allocations: 4.375 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.2533, allocations: 384 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.2534, allocations: 54.17 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2534, allocations: 3.938 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2535, allocations: 3.984 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2535, allocations: 3.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2536, allocations: 35.97 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.2539, allocations: 245 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.2541, allocations: 38.5 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.2542, allocations: 24.84 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2542, allocations: 4 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.2542, allocations: 34.56 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2542, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003485/0.2546, allocations: 85.55 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.2546, allocations: 51.41 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.2547, allocations: 97.84 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.2547, allocations: 29.83 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.2548, allocations: 84.14 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2548, allocations: 7.906 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.2548, allocations: 9.719 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.2549, allocations: 318.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.255, allocations: 19.92 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-05/0.2551, allocations: 15.98 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2553, allocations: 44.88 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2553, allocations: 3.938 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.2555, allocations: 61.67 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2555, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2555, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2555, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2556, allocations: 16.02 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2557, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.2557, allocations: 11.92 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2557, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 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.58e-05/0.2558, allocations: 117.7 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.2558, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.2561, allocations: 72.72 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2561, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2561, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2561, allocations: 3.984 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2563, allocations: 161.5 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2563, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.2563, allocations: 11.92 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2563, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2563, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2564, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2564, allocations: 4.031 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.2566, allocations: 168.8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.2566, allocations: 85.02 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.2567, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.2567, allocations: 7.984 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.2568, allocations: 8.031 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2568, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.2568, allocations: 79.28 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2568, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002373/0.2571, allocations: 16 kB / 1.092 GB, free: 13.05 MB / 0.8575 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.0005307/0.2576, allocations: 0.7085 MB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.2578, allocations: 35.95 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2579, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.258, allocations: 19.98 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.2582, allocations: 6.188 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.2586, allocations: 156.2 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.2589, allocations: 0.6729 MB / 1.093 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.2589, allocations: 4.266 kB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.2589, allocations: 19.42 kB / 1.093 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.2589, allocations: 0 / 1.093 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.2751, allocations: 1.474 MB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.456, allocations: 18.45 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv","/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