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.0008641/0.0008642, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005012/0.005012, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.105/2.105, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.5218, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001119/0.5229, allocations: 1.129 MB / 0.9563 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004205/0.5233, allocations: 288.3 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.5234, allocations: 0 / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.5234, allocations: 5.188 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.5234, allocations: 0 / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.5236, allocations: 48.75 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.5237, allocations: 29.53 kB / 0.9566 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.5238, allocations: 11.75 kB / 0.9566 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.5238, allocations: 3.625 kB / 0.9566 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.5239, allocations: 22.45 kB / 0.9567 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.5239, allocations: 1.406 kB / 0.9567 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.524, allocations: 89.22 kB / 0.9567 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.524, allocations: 4.844 kB / 0.9567 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.5241, allocations: 36.23 kB / 0.9568 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.5242, allocations: 68.84 kB / 0.9568 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.5242, allocations: 0 / 0.9568 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5242, allocations: 1.438 kB / 0.9568 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.5242, allocations: 3.938 kB / 0.9568 GB, free: 6.398 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.0002991/0.5245, allocations: 350.8 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5246, allocations: 9.156 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.318e-05/0.5246, allocations: 31.88 kB / 0.9572 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.792e-05/0.5246, allocations: 5.969 kB / 0.9572 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.968e-05/0.5247, allocations: 165.4 kB / 0.9574 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.5247, allocations: 1.469 kB / 0.9574 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.5247, allocations: 1.406 kB / 0.9574 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5249, allocations: 62.23 kB / 0.9574 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5249, allocations: 4.812 kB / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.5249, allocations: 0 / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5249, allocations: 1.094 kB / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.5251, allocations: 44.5 kB / 0.9575 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.5253, allocations: 249.2 kB / 0.9577 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.5254, allocations: 43.44 kB / 0.9578 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.367e-05/0.5255, allocations: 40.19 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5255, allocations: 3.984 kB / 0.9578 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.5255, allocations: 31.91 kB / 0.9578 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5255, allocations: 0 / 0.9578 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003115/0.5258, allocations: 90.25 kB / 0.9579 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.5259, allocations: 61.3 kB / 0.958 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.315e-05/0.5259, allocations: 99.25 kB / 0.9581 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.5259, allocations: 25.7 kB / 0.9581 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.975e-05/0.526, allocations: 92.2 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.526, allocations: 5.781 kB / 0.9582 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.526, allocations: 13.7 kB / 0.9582 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.225e-05/0.526, allocations: 316.5 kB / 0.9585 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.5261, allocations: 22.3 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.5262, allocations: 22.33 kB / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.5263, allocations: 52.16 kB / 0.9586 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5264, allocations: 3.938 kB / 0.9586 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.5265, allocations: 78.33 kB / 0.9587 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.5266, allocations: 5.156 kB / 0.9587 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.5266, allocations: 5.141 kB / 0.9587 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5266, allocations: 3.938 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.5267, allocations: 8.75 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5267, allocations: 7.969 kB / 0.9587 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.5267, allocations: 15.02 kB / 0.9587 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.5267, allocations: 0 / 0.9587 GB, free: 4.512 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 3.851e-05/0.5268, allocations: 112.1 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.5268, allocations: 1.312 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.527, allocations: 87.78 kB / 0.9589 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.527, allocations: 0 / 0.9589 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.527, allocations: 4.922 kB / 0.9589 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.527, allocations: 0 / 0.9589 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.589e-05/0.5271, allocations: 159.2 kB / 0.9591 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.5271, allocations: 0 / 0.9591 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.5272, allocations: 15.77 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5272, allocations: 1.469 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.5272, allocations: 0 / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.5272, allocations: 0 / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5272, allocations: 5.25 kB / 0.9591 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.5274, allocations: 176.6 kB / 0.9593 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.5275, allocations: 78.36 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.5275, allocations: 0 / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.5275, allocations: 10.52 kB / 0.9594 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.5276, allocations: 0.8125 kB / 0.9594 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.5276, allocations: 1.312 kB / 0.9594 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.889e-05/0.5276, allocations: 85.86 kB / 0.9594 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5276, allocations: 5.344 kB / 0.9594 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002096/0.5278, allocations: 8.594 kB / 0.9595 GB, free: 3.777 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.0003568/0.5282, allocations: 0.7225 MB / 0.9602 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.5284, allocations: 46.23 kB / 0.9602 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5284, allocations: 5.281 kB / 0.9602 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.5285, allocations: 20.23 kB / 0.9602 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.5287, allocations: 6.688 kB / 0.9602 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.529, allocations: 170.3 kB / 0.9604 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.216e-05/0.5291, allocations: 0.6815 MB / 0.9611 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.5291, allocations: 5.375 kB / 0.9611 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.5291, allocations: 7.438 kB / 0.9611 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.5292, allocations: 1.562 kB / 0.9611 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.564, allocations: 1.221 MB / 0.9623 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.5641, allocations: 222.2 kB / 0.9625 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.114, allocations: 3.531 kB / 0.9625 GB, free: 1.34 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