Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_10_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.005073/0.005073, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001203/0.001203, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 151.6 MB / 1.166 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002525/0.258, allocations: 1.406 MB / 1.168 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.2585, allocations: 299 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.2586, allocations: 4 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.2586, allocations: 0 / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.2587, allocations: 7.922 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.259, allocations: 51.75 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.2591, allocations: 31.86 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.2592, allocations: 4 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.2592, allocations: 11.98 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.2593, allocations: 15.92 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2593, allocations: 4 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.2595, allocations: 87.8 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.2595, allocations: 7.969 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.2596, allocations: 11.94 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.2598, allocations: 60.09 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2598, allocations: 0 / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2598, allocations: 0 / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.2598, allocations: 0 / 1.168 GB, free: 5.359 MB / 0.92 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.0004359/0.2602, allocations: 351.3 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2603, allocations: 12.03 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.2603, allocations: 30.75 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.2604, allocations: 12.89 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2605, allocations: 160.4 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2605, allocations: 384 / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2605, allocations: 4.375 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2607, allocations: 54.17 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2607, allocations: 7.875 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2607, allocations: 0 / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2607, allocations: 4 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.2609, allocations: 35.95 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.2612, allocations: 249 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.2613, allocations: 46.42 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.2614, allocations: 24.91 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2615, allocations: 3.984 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2615, allocations: 34.56 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2615, allocations: 0 / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003468/0.2618, allocations: 77.59 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2619, allocations: 59.53 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.262, allocations: 101.8 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.262, allocations: 29.64 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.262, allocations: 84.14 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.262, allocations: 7.891 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.2621, allocations: 13.72 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.2622, allocations: 314.8 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.2623, allocations: 19.97 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.2624, allocations: 19.98 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2625, allocations: 32.83 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2625, allocations: 7.938 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.2627, allocations: 61.66 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2627, allocations: 12.09 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2628, allocations: 0 / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2628, allocations: 0 / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.2629, allocations: 15.86 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.2629, allocations: 0 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.2629, allocations: 4 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2629, allocations: 4 kB / 1.17 GB, free: 3.266 MB / 0.92 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.56e-05/0.263, allocations: 113.8 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.263, allocations: 8 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.2633, allocations: 68.78 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2633, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2633, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2633, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.2634, allocations: 161.6 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2635, allocations: 3.938 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.2635, allocations: 8 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2635, allocations: 4.031 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2635, allocations: 3.938 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2635, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2636, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.2638, allocations: 167.4 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.2638, allocations: 81.09 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.2638, allocations: 8.031 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.2639, allocations: 0 / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.264, allocations: 7.984 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.264, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.411e-05/0.264, allocations: 83.28 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.264, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002405/0.2643, allocations: 11.94 kB / 1.171 GB, free: 2.449 MB / 0.92 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.0005326/0.2648, allocations: 0.7085 MB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.265, allocations: 39.97 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.265, allocations: 96 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.2651, allocations: 27.97 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.2654, allocations: 4 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.2658, allocations: 144.1 kB / 1.171 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.266, allocations: 0.6768 MB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.266, allocations: 4 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.2661, allocations: 15.44 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.2661, allocations: 4 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.2819, allocations: 1.479 MB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.787, allocations: 7.875 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches