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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001294/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001361/0.001361, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.3 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.579, allocations: 140.4 MB / 0.949 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002304/0.5813, allocations: 1.465 MB / 0.9505 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004652/0.5818, allocations: 294.5 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.5818, allocations: 0 / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.5819, allocations: 0 / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.5819, allocations: 5.359 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.5821, allocations: 54.86 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.5822, allocations: 22.94 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.5823, allocations: 14.73 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.5823, allocations: 4.125 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.5824, allocations: 16.05 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.5824, allocations: 1.375 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.5825, allocations: 93.44 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.5826, allocations: 0 / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.5826, allocations: 15.52 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.5827, allocations: 64.2 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.5827, allocations: 1.312 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5827, allocations: 3.938 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.5828, allocations: 4 kB / 0.951 GB, free: 7.641 MB / 0.7169 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.0003398/0.5831, allocations: 347.9 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5831, allocations: 9.625 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.333e-05/0.5832, allocations: 30.75 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.5832, allocations: 2.688 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.554e-05/0.5833, allocations: 173.9 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.5833, allocations: 1.875 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.5833, allocations: 384 / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.5835, allocations: 54.55 kB / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5835, allocations: 3.938 kB / 0.9516 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.5835, allocations: 0 / 0.9516 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5835, allocations: 1.438 kB / 0.9516 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.5837, allocations: 29.25 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.584, allocations: 249.2 kB / 0.9519 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.5841, allocations: 46.94 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.5842, allocations: 19.53 kB / 0.952 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.5842, allocations: 3.984 kB / 0.952 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5843, allocations: 31.91 kB / 0.952 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5843, allocations: 0 / 0.952 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003722/0.5846, allocations: 88.39 kB / 0.9521 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.5847, allocations: 52.56 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.5848, allocations: 103 kB / 0.9522 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.5848, allocations: 25.7 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.5848, allocations: 93.36 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.5848, allocations: 5.062 kB / 0.9523 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.5849, allocations: 20.06 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.5849, allocations: 316.8 kB / 0.9527 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.585, allocations: 15.61 kB / 0.9527 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.5851, allocations: 14.2 kB / 0.9527 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.5852, allocations: 39.47 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5853, allocations: 8 kB / 0.9527 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001735/0.5854, allocations: 64.55 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5855, allocations: 4.875 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5855, allocations: 0 / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5855, allocations: 1.094 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.5856, allocations: 13.14 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5856, allocations: 1.094 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.5857, allocations: 15.17 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.5857, allocations: 0.9062 kB / 0.9528 GB, free: 5.766 MB / 0.7169 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 5.753e-05/0.5857, allocations: 111.5 kB / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.5858, allocations: 5.438 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.586, allocations: 74.59 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.586, allocations: 192 / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.586, allocations: 5.75 kB / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.586, allocations: 8.016 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.5861, allocations: 161 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5862, allocations: 1.688 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.5862, allocations: 9.672 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.5862, allocations: 0 / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.5862, allocations: 1.156 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5862, allocations: 0 / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5862, allocations: 0 / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.5865, allocations: 166.9 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.5865, allocations: 78.64 kB / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.5865, allocations: 1.5 kB / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.5866, allocations: 6.672 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.5866, allocations: 1.406 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.5866, allocations: 1.312 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.476e-05/0.5867, allocations: 77.66 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.082e-06/0.5867, allocations: 9.219 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002306/0.5869, allocations: 13.41 kB / 0.9535 GB, free: 5.027 MB / 0.7169 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.000447/0.5873, allocations: 0.7118 MB / 0.9542 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.5876, allocations: 41.61 kB / 0.9543 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5876, allocations: 0 / 0.9543 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.5877, allocations: 20.39 kB / 0.9543 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.588, allocations: 2.703 kB / 0.9543 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.5883, allocations: 162.1 kB / 0.9545 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.006e-05/0.5884, allocations: 0.6735 MB / 0.9551 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.5885, allocations: 5.469 kB / 0.9551 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.5885, allocations: 11.42 kB / 0.9551 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.5885, allocations: 0 / 0.9551 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009757/0.5983, allocations: 1.282 MB / 0.9564 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001243/0.5984, allocations: 216.4 kB / 0.9566 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.256, allocations: 0 / 0.9566 GB, free: 2.531 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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