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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 111.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.19/3.19, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 68.98 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3127, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002783/0.3155, allocations: 1.414 MB / 1.305 GB, free: 120 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.3161, allocations: 283.5 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.3161, allocations: 0 / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.3161, allocations: 7.938 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.3162, allocations: 7.938 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.3165, allocations: 59.73 kB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.3166, allocations: 27.88 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.3167, allocations: 7.969 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.3167, allocations: 8 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.3168, allocations: 11.92 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3168, allocations: 4 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.317, allocations: 87.84 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.317, allocations: 4 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.317, allocations: 15.94 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.3172, allocations: 68 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3172, allocations: 3.938 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3172, allocations: 0 / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.3172, allocations: 0 / 1.306 GB, free: 15.53 MB / 1.014 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.000492/0.3177, allocations: 351.3 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3178, allocations: 8.625 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.3178, allocations: 30.75 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.3178, allocations: 0.9375 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.318, allocations: 176.3 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.318, allocations: 4.375 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.318, allocations: 384 / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3182, allocations: 54.17 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3182, allocations: 7.922 kB / 1.306 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.3182, allocations: 0 / 1.306 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3182, allocations: 0 / 1.306 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.3184, allocations: 35.97 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.3187, allocations: 248.9 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3188, allocations: 38.5 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.031e-05/0.3189, allocations: 24.84 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3189, allocations: 0 / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3189, allocations: 38.56 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.3189, allocations: 0 / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003714/0.3193, allocations: 77.64 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3193, allocations: 51.41 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.3194, allocations: 101.8 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3195, allocations: 29.83 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.3195, allocations: 84.14 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.3195, allocations: 11.89 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.3195, allocations: 9.719 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3197, allocations: 318.8 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.3198, allocations: 19.92 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.3198, allocations: 11.98 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.32, allocations: 44.88 kB / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.32, allocations: 3.938 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/0.3202, allocations: 65.67 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3202, allocations: 7.938 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3202, allocations: 0 / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3202, allocations: 0 / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.3203, allocations: 16.02 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3203, allocations: 0 / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.3203, allocations: 7.984 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.3203, allocations: 3.938 kB / 1.308 GB, free: 13.45 MB / 1.014 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 7.755e-05/0.3204, allocations: 113.8 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.3205, allocations: 7.953 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.3207, allocations: 72.78 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3207, allocations: 3.938 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3207, allocations: 0 / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3207, allocations: 0 / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3209, allocations: 169.6 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3209, allocations: 0 / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.3209, allocations: 7.984 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3209, allocations: 0 / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3209, allocations: 4 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3209, allocations: 4 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3209, allocations: 4.031 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.3212, allocations: 167.4 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.3212, allocations: 77.11 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.3212, allocations: 0 / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.3213, allocations: 7.984 kB / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3213, allocations: 4.031 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.3213, allocations: 0 / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.3214, allocations: 83.47 kB / 1.308 GB, free: 12.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3214, allocations: 0 / 1.308 GB, free: 12.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002386/0.3216, allocations: 15.94 kB / 1.308 GB, free: 12.62 MB / 1.014 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.0006004/0.3222, allocations: 0.7123 MB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.3224, allocations: 35.95 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3224, allocations: 0 / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.3225, allocations: 15.98 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3228, allocations: 14.53 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.3232, allocations: 160 kB / 1.309 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3235, allocations: 0.673 MB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.3236, allocations: 0 / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.3236, allocations: 15.42 kB / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.3236, allocations: 0 / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.3476, allocations: 1.49 MB / 1.311 GB, free: 9.551 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.449, allocations: 9.234 kB / 1.311 GB, free: 9.547 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.132932531181723]