Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9246/0.9246, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.738/1.738, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.763e-05, allocations: 4.953 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001761/0.001778, allocations: 1.436 MB / 0.9823 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.00216, allocations: 215.4 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.002189, allocations: 3.938 kB / 0.9825 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.002215, allocations: 0 / 0.9825 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.942e-05/0.002255, allocations: 3.938 kB / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.002485, allocations: 23.91 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.002551, allocations: 23.92 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.002638, allocations: 7.984 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.002685, allocations: 19.92 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.265e-05/0.002718, allocations: 11.98 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.002732, allocations: 4 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.722e-05/0.002809, allocations: 23.98 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.002826, allocations: 3.984 kB / 0.9827 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.002843, allocations: 11.94 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.002952, allocations: 47.81 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002953, allocations: 0 / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002954, allocations: 0 / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.002958, allocations: 0 / 0.9827 GB, free: 0.7656 MB / 0.9323 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.0003234/0.003281, allocations: 274.2 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.003319, allocations: 12.03 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.629e-05/0.003345, allocations: 30.75 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.003451, allocations: 4.938 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/0.003523, allocations: 109.8 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.003533, allocations: 4.375 kB / 0.9831 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.003541, allocations: 384 / 0.9831 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.003659, allocations: 50.23 kB / 0.9832 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.003665, allocations: 192 / 0.9832 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.003673, allocations: 8.359 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.003679, allocations: 4.125 kB / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.003766, allocations: 39.84 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.004077, allocations: 208.1 kB / 0.9834 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.805e-05/0.004155, allocations: 34.56 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.004206, allocations: 28.89 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.004219, allocations: 0 / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.004236, allocations: 38.5 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.004237, allocations: 0 / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.000209/0.004446, allocations: 89.53 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.004474, allocations: 55.34 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.004525, allocations: 101.9 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.004534, allocations: 25.7 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.004567, allocations: 84.12 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.004581, allocations: 12.06 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.004606, allocations: 17.72 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.004676, allocations: 310.8 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.004715, allocations: 11.98 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.004751, allocations: 23.97 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.00486, allocations: 40.77 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.004862, allocations: 64 / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001435/0.005006, allocations: 69.59 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.00502, allocations: 8 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.005025, allocations: 0 / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.005036, allocations: 0 / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.005089, allocations: 7.984 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.005096, allocations: 4 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.00512, allocations: 4 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.005127, allocations: 8.031 kB / 0.9844 GB, free: 14.88 MB / 0.948 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.689e-05/0.005184, allocations: 113.8 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.005198, allocations: 7.938 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.00534, allocations: 72.91 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.005342, allocations: 4 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.005347, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.00535, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.005451, allocations: 128.7 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005451, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.005481, allocations: 11.98 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.005483, allocations: 3.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.00549, allocations: 4 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005491, allocations: 0 / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005492, allocations: 0 / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.005618, allocations: 163.5 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.005628, allocations: 15.86 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.005637, allocations: 3.938 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.005675, allocations: 8 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.005708, allocations: 8.203 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.005712, allocations: 4 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.005739, allocations: 83.27 kB / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005739, allocations: 0 / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001481/0.005887, allocations: 8 kB / 0.985 GB, free: 14.18 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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.0002957/0.006182, allocations: 0.7007 MB / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.006306, allocations: 43.89 kB / 0.9857 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006307, allocations: 0 / 0.9857 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.006349, allocations: 19.98 kB / 0.9857 GB, free: 13.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.006541, allocations: 7.938 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.006849, allocations: 142.5 kB / 0.9859 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.006885, allocations: 59.36 kB / 0.9859 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.006902, allocations: 4.062 kB / 0.9859 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.006936, allocations: 12.48 kB / 0.9859 GB, free: 13.11 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/0.006936, allocations: 3.938 kB / 0.9859 GB, free: 13.11 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.02164, allocations: 2.025 MB / 0.9879 GB, free: 11.21 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/6.878, allocations: 15.69 kB / 0.9879 GB, free: 11.2 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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: 10.932481775060296]