Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_latest_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.001281/0.001282, allocations: 108 kB / 15.61 MB, free: 148 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.001245/0.001245, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 66.95 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3121, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003044/0.3152, allocations: 1.411 MB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000542/0.3158, allocations: 280.7 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.3158, allocations: 0 / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.3159, allocations: 7.938 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.3159, allocations: 7.922 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3162, allocations: 59.73 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.309e-05/0.3163, allocations: 19.94 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.3164, allocations: 7.984 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.3165, allocations: 11.94 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.3165, allocations: 7.984 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3165, allocations: 4 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.3167, allocations: 95.84 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.3168, allocations: 11.92 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.3168, allocations: 4 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.3169, allocations: 64.08 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.317, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.317, allocations: 3.938 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.317, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 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.0004235/0.3174, allocations: 347.5 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3175, allocations: 12.03 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.3175, allocations: 34.75 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.3175, allocations: 8.844 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3176, allocations: 168.4 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3177, allocations: 4.375 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.3177, allocations: 384 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3178, allocations: 50.23 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3179, allocations: 3.938 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.3179, allocations: 0 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3179, allocations: 0 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.3181, allocations: 43.89 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.3184, allocations: 244.9 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3185, allocations: 42.53 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.3186, allocations: 24.91 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3186, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3187, allocations: 30.56 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3187, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003841/0.3191, allocations: 85.48 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.3191, allocations: 51.41 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.3192, allocations: 110 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3192, allocations: 25.7 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.3193, allocations: 84.14 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.3193, allocations: 7.906 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.3194, allocations: 9.719 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3195, allocations: 318.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.3196, allocations: 19.98 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.3197, allocations: 15.98 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3198, allocations: 44.77 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3198, allocations: 3.938 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.32, allocations: 65.66 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3201, allocations: 4.094 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3201, allocations: 4 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3201, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.3202, allocations: 11.98 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3202, allocations: 0 / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.3203, allocations: 7.984 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.3203, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 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.845e-05/0.3203, allocations: 109.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3204, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.3206, allocations: 76.72 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3206, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3206, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3206, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.3208, allocations: 161.6 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3208, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.3209, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3209, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.3209, allocations: 11.95 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3209, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3209, allocations: 4 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.3211, allocations: 167.4 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.3212, allocations: 88.95 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.3212, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.3213, allocations: 8.031 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.3213, allocations: 3.984 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3213, allocations: 0 / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.3214, allocations: 83.28 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3214, allocations: 0 / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002321/0.3216, allocations: 12 kB / 1.068 GB, free: 9.641 MB / 0.8262 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.0005235/0.3221, allocations: 0.7129 MB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3224, allocations: 39.89 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3224, allocations: 0 / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.3225, allocations: 24.08 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3227, allocations: 1.562 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.3232, allocations: 143.2 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3234, allocations: 0.6768 MB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.3234, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.3235, allocations: 19.5 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3235, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.3406, allocations: 1.469 MB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.461, allocations: 1.5 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches