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.005984/0.005984, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.00129/0.00129, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.684/2.684, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2868, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002662/0.2895, allocations: 1.408 MB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005546/0.2901, allocations: 279.1 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.2901, allocations: 0 / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.2902, allocations: 7.922 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-05/0.2903, allocations: 7.984 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.2906, allocations: 63.69 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.2907, allocations: 31.8 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.2908, allocations: 4 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.2908, allocations: 7.984 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.2909, allocations: 11.94 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2909, allocations: 4 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.2911, allocations: 91.83 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.2911, allocations: 7.984 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.2912, allocations: 15.94 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.2913, allocations: 58.73 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2914, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.196e-06/0.2914, allocations: 3.938 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2914, allocations: 3.938 kB / 1.168 GB, free: 5.262 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.0004895/0.2919, allocations: 352.2 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2919, allocations: 12.02 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.292, allocations: 30.75 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.292, allocations: 0.9375 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2921, allocations: 168.4 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2921, allocations: 384 / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.2922, allocations: 384 / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2923, allocations: 54.22 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2924, allocations: 3.938 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.577e-06/0.2924, allocations: 0 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2924, allocations: 0 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.2926, allocations: 39.89 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.2929, allocations: 249 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.293, allocations: 38.5 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.2931, allocations: 24.89 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2932, allocations: 0 / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2932, allocations: 34.56 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.2932, allocations: 0 / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003433/0.2935, allocations: 89.48 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2936, allocations: 51.41 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.2937, allocations: 97.86 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2937, allocations: 25.7 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.2937, allocations: 92.25 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2938, allocations: 7.906 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2938, allocations: 13.72 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2939, allocations: 310.8 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.294, allocations: 15.98 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.2941, allocations: 15.97 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.2942, allocations: 48.77 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2943, allocations: 3.938 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.2944, allocations: 69.66 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2945, allocations: 4 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2945, allocations: 3.938 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2945, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.816e-05/0.2946, allocations: 16.02 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2946, allocations: 3.984 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.2946, allocations: 4 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2947, allocations: 0 / 1.17 GB, free: 3.184 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 8.375e-05/0.2947, allocations: 117.8 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.2948, allocations: 0 / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.295, allocations: 80.66 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.295, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.295, allocations: 4 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.295, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.2952, allocations: 157.6 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2952, allocations: 0 / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.2953, allocations: 7.984 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2953, allocations: 4 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2953, allocations: 4 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2953, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2953, allocations: 32 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.2955, allocations: 175.3 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.2956, allocations: 77.11 kB / 1.17 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2956, allocations: 3.984 kB / 1.17 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.2957, allocations: 4 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.2957, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2957, allocations: 12.02 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.2958, allocations: 79.45 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2958, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002381/0.296, allocations: 12 kB / 1.171 GB, free: 2.355 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.0005068/0.2965, allocations: 0.7085 MB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.2967, allocations: 35.91 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2967, allocations: 0 / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.2968, allocations: 23.91 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.2971, allocations: 12.16 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.2975, allocations: 158 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2977, allocations: 0.6806 MB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.2978, allocations: 4 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.2978, allocations: 7.438 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.2978, allocations: 0 / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.3147, allocations: 1.478 MB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.98, allocations: 4.375 kB / 1.174 GB, free: 15.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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