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.008937/0.008937, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.002101/0.002101, allocations: 193.5 kB / 16.67 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 60.12 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3097, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002768/0.3125, allocations: 1.417 MB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005674/0.3131, allocations: 283 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.3132, allocations: 0 / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.3132, allocations: 0 / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.3133, allocations: 7.938 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.3136, allocations: 55.73 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.975e-05/0.3137, allocations: 27.94 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.3138, allocations: 3.984 kB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.3138, allocations: 8 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.3139, allocations: 19.91 kB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3139, allocations: 4 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.3141, allocations: 87.84 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.3141, allocations: 3.938 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.3142, allocations: 11.94 kB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.3143, allocations: 68.06 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3143, allocations: 8 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3143, allocations: 0 / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3144, allocations: 0 / 1.209 GB, free: 8.164 MB / 0.9669 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.0004219/0.3148, allocations: 347.4 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3148, allocations: 8.625 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.865e-05/0.3149, allocations: 34.75 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.3149, allocations: 0.9375 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.315, allocations: 168.4 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.315, allocations: 4.375 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.3151, allocations: 384 / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3152, allocations: 54.12 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3153, allocations: 7.938 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.3153, allocations: 3.984 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3153, allocations: 0 / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3155, allocations: 31.97 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.3158, allocations: 252.9 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.3159, allocations: 42.44 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.019e-05/0.316, allocations: 24.91 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3161, allocations: 0 / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.3161, allocations: 34.5 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3161, allocations: 4 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003623/0.3165, allocations: 81.64 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3165, allocations: 51.41 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.3166, allocations: 97.84 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3166, allocations: 29.7 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.3166, allocations: 84.14 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.3167, allocations: 8.031 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3167, allocations: 17.66 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.3168, allocations: 318.8 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.3169, allocations: 11.98 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.317, allocations: 15.98 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.3172, allocations: 44.88 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3172, allocations: 3.938 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.3174, allocations: 61.67 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3174, allocations: 5.406 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3174, allocations: 0 / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.3174, allocations: 0 / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.3175, allocations: 11.98 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3175, allocations: 7.969 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.3176, allocations: 12.17 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3176, allocations: 0 / 1.211 GB, free: 6.086 MB / 0.9669 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.909e-05/0.3177, allocations: 117.8 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3177, allocations: 3.984 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.3179, allocations: 64.78 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3179, allocations: 4.031 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3179, allocations: 4 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.318, allocations: 0 / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.3181, allocations: 169.4 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3181, allocations: 0 / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.3182, allocations: 7.984 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3182, allocations: 4 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3182, allocations: 0 / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3182, allocations: 0 / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3182, allocations: 3.938 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.3185, allocations: 167.5 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.3185, allocations: 84.98 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.3185, allocations: 0 / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.3186, allocations: 11.98 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3186, allocations: 4 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3186, allocations: 4 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.3187, allocations: 79.31 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3187, allocations: 4 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002362/0.3189, allocations: 8 kB / 1.212 GB, free: 5.262 MB / 0.9669 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.000537/0.3195, allocations: 0.7124 MB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.3197, allocations: 35.95 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3197, allocations: 0 / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.3198, allocations: 19.98 kB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3201, allocations: 4 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.3205, allocations: 160.2 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.3207, allocations: 0.6729 MB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.3208, allocations: 4 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.3208, allocations: 15.42 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.3208, allocations: 0 / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.3379, allocations: 1.504 MB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.924, allocations: 7.969 kB / 1.215 GB, free: 2.172 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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