Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001445/0.001445, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.001579/0.001579, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.196/3.196, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8775 GB, free: 5.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.946e-05, allocations: 2.969 kB / 0.8775 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002707/0.002737, allocations: 1.272 MB / 0.8788 GB, free: 4.164 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004784/0.00752, allocations: 2.809 MB / 0.8815 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.007545, allocations: 0 / 0.8815 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.007568, allocations: 0 / 0.8815 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.007623, allocations: 11.88 kB / 0.8815 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.008266, allocations: 104.1 kB / 0.8816 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.008361, allocations: 37.27 kB / 0.8817 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.008395, allocations: 3.984 kB / 0.8817 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005984/0.008993, allocations: 167.5 kB / 0.8818 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.009048, allocations: 19.91 kB / 0.8819 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.009063, allocations: 4 kB / 0.8819 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.009218, allocations: 51.83 kB / 0.8819 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.009237, allocations: 8 kB / 0.8819 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.009275, allocations: 15.91 kB / 0.8819 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.009482, allocations: 67.8 kB / 0.882 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.009485, allocations: 0 / 0.882 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.22e-07/0.009486, allocations: 0 / 0.882 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.00949, allocations: 0 / 0.882 GB, free: 0.8828 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005066/0.009997, allocations: 274.3 kB / 0.8823 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.01005, allocations: 12.03 kB / 0.8823 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.01011, allocations: 4.938 kB / 0.8823 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.01023, allocations: 105.7 kB / 0.8824 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.01025, allocations: 8.375 kB / 0.8824 GB, free: 444 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.01029, allocations: 8.359 kB / 0.8824 GB, free: 436 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.01049, allocations: 131.3 kB / 0.8825 GB, free: 280 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.0105, allocations: 192 / 0.8825 GB, free: 280 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.01051, allocations: 4.125 kB / 0.8825 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.01052, allocations: 0 / 0.8825 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.01058, allocations: 23.97 kB / 0.8826 GB, free: 252 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.01076, allocations: 121.2 kB / 0.8827 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.01087, allocations: 50.5 kB / 0.8827 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.01091, allocations: 16.84 kB / 0.8827 GB, free: 20 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006265/0.01153, allocations: 238.1 kB / 0.883 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.01157, allocations: 38.56 kB / 0.883 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.01157, allocations: 0 / 0.883 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0006372/0.01221, allocations: 225.4 kB / 0.8832 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.01226, allocations: 59.39 kB / 0.8833 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.01237, allocations: 101.9 kB / 0.8834 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.01239, allocations: 25.7 kB / 0.8834 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.01245, allocations: 88.09 kB / 0.8835 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.01248, allocations: 27.73 kB / 0.8835 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.01253, allocations: 25.72 kB / 0.8835 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.01271, allocations: 318.8 kB / 0.8838 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/0.01275, allocations: 12 kB / 0.8838 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.01282, allocations: 57.2 kB / 0.8839 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.01294, allocations: 84.95 kB / 0.884 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01294, allocations: 0 / 0.884 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00017/0.01311, allocations: 97.55 kB / 0.8841 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01312, allocations: 4 kB / 0.8841 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01313, allocations: 4 kB / 0.8841 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.01315, allocations: 0 / 0.8841 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.01323, allocations: 16 kB / 0.8841 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.01325, allocations: 15.98 kB / 0.8841 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.01329, allocations: 4.344 kB / 0.8841 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.0133, allocations: 12 kB / 0.8841 GB, free: 14.44 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.863e-05/0.0134, allocations: 113.8 kB / 0.8842 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.01343, allocations: 11.95 kB / 0.8842 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.01346, allocations: 12.11 kB / 0.8843 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01347, allocations: 4 kB / 0.8843 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01347, allocations: 0 / 0.8843 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.01348, allocations: 0 / 0.8843 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.01374, allocations: 125.3 kB / 0.8844 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01374, allocations: 0 / 0.8844 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.122e-05/0.01383, allocations: 15.98 kB / 0.8844 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01383, allocations: 4 kB / 0.8844 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01384, allocations: 0 / 0.8844 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.01384, allocations: 4 kB / 0.8844 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01385, allocations: 3.938 kB / 0.8844 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.01407, allocations: 171.5 kB / 0.8846 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.0141, allocations: 7.953 kB / 0.8846 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.01411, allocations: 4 kB / 0.8846 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.01422, allocations: 4.031 kB / 0.8846 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.01424, allocations: 4 kB / 0.8846 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01425, allocations: 0 / 0.8846 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.957e-05/0.01431, allocations: 91.27 kB / 0.8847 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01431, allocations: 0 / 0.8847 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002631/0.01457, allocations: 12 kB / 0.8847 GB, free: 13.81 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001419/0.01471, allocations: 103.2 kB / 0.8848 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.01484, allocations: 39.91 kB / 0.8848 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01484, allocations: 0 / 0.8848 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.01487, allocations: 19.98 kB / 0.8848 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.01518, allocations: 22.19 kB / 0.8849 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.01576, allocations: 252.6 kB / 0.8851 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.868e-05/0.01584, allocations: 67.34 kB / 0.8852 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.722e-05/0.01588, allocations: 11.98 kB / 0.8852 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.01592, allocations: 12.5 kB / 0.8852 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.01592, allocations: 7.875 kB / 0.8852 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.003509/0.01943, allocations: 0.6441 MB / 0.8858 GB, free: 12.6 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.057864770060405]