Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001934/0.001934, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002368/0.002368, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.492/1.492, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.768/2.768, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: 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_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.384e-05, allocations: 3.469 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002557/0.002591, allocations: 1.285 MB / 0.7876 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004794/0.007384, allocations: 2.768 MB / 0.7903 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.007405, allocations: 0 / 0.7903 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.007423, allocations: 2.594 kB / 0.7903 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.007473, allocations: 7.922 kB / 0.7903 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.008109, allocations: 103.4 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.731e-05/0.008196, allocations: 35.84 kB / 0.7904 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.008233, allocations: 4.531 kB / 0.7904 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.008917, allocations: 192.8 kB / 0.7906 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.008975, allocations: 19.92 kB / 0.7906 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.00899, allocations: 0 / 0.7906 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.009164, allocations: 57.27 kB / 0.7907 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.009184, allocations: 7.969 kB / 0.7907 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.009224, allocations: 15.94 kB / 0.7907 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.009457, allocations: 59.84 kB / 0.7908 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.009461, allocations: 1.75 kB / 0.7908 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.009462, allocations: 3.938 kB / 0.7908 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.00947, allocations: 4 kB / 0.7908 GB, free: 8.332 MB / 0.7448 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.0005118/0.009982, allocations: 267.1 kB / 0.791 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.01003, allocations: 8.031 kB / 0.791 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.01009, allocations: 8.891 kB / 0.791 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.01021, allocations: 111.1 kB / 0.7912 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.01022, allocations: 384 / 0.7912 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.01027, allocations: 12.36 kB / 0.7912 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.01049, allocations: 128.2 kB / 0.7913 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.0105, allocations: 4.188 kB / 0.7913 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.01052, allocations: 9.328 kB / 0.7913 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.01052, allocations: 0 / 0.7913 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.604e-05/0.01059, allocations: 19.92 kB / 0.7913 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.01077, allocations: 118.6 kB / 0.7914 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.01089, allocations: 54.53 kB / 0.7915 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.01093, allocations: 16.86 kB / 0.7915 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007029/0.01164, allocations: 251.5 kB / 0.7917 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.01167, allocations: 34.5 kB / 0.7918 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.01167, allocations: 0 / 0.7918 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006967/0.01237, allocations: 224.2 kB / 0.792 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.01242, allocations: 51.41 kB / 0.792 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.01252, allocations: 101.8 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.01254, allocations: 33.69 kB / 0.7922 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.01261, allocations: 88.09 kB / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.01264, allocations: 27.75 kB / 0.7923 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.01269, allocations: 25.7 kB / 0.7923 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.01286, allocations: 315.3 kB / 0.7926 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.0129, allocations: 16.52 kB / 0.7926 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/0.01298, allocations: 49.16 kB / 0.7927 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.01309, allocations: 78.89 kB / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.0131, allocations: 0 / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001882/0.01328, allocations: 103 kB / 0.7928 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.0133, allocations: 8 kB / 0.7928 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01331, allocations: 0.7188 kB / 0.7928 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.01333, allocations: 4 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.01342, allocations: 26.92 kB / 0.7929 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01342, allocations: 3.938 kB / 0.7929 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.01347, allocations: 8 kB / 0.7929 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.01348, allocations: 4 kB / 0.7929 GB, free: 5.91 MB / 0.7448 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 0.0001023/0.01358, allocations: 117.8 kB / 0.793 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.01361, allocations: 4 kB / 0.793 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.01364, allocations: 8.125 kB / 0.793 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01364, allocations: 1.906 kB / 0.793 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01365, allocations: 288 / 0.793 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01365, allocations: 3.984 kB / 0.793 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.0139, allocations: 121.2 kB / 0.7931 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.0139, allocations: 448 / 0.7931 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.014, allocations: 24.92 kB / 0.7932 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.014, allocations: 0 / 0.7932 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.01402, allocations: 8 kB / 0.7932 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01402, allocations: 5.047 kB / 0.7932 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01402, allocations: 0 / 0.7932 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.01427, allocations: 175.4 kB / 0.7933 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.0143, allocations: 13.11 kB / 0.7933 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.01431, allocations: 0 / 0.7933 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.01443, allocations: 5.344 kB / 0.7934 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.01445, allocations: 3.984 kB / 0.7934 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01446, allocations: 8 kB / 0.7934 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.1e-05/0.01451, allocations: 75.28 kB / 0.7934 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01451, allocations: 5.938 kB / 0.7934 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002508/0.01476, allocations: 15.94 kB / 0.7935 GB, free: 5.277 MB / 0.7448 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.0001517/0.01491, allocations: 99.25 kB / 0.7936 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.01504, allocations: 45.16 kB / 0.7936 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01504, allocations: 0 / 0.7936 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.01508, allocations: 9.094 kB / 0.7936 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.0154, allocations: 11.94 kB / 0.7936 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.01602, allocations: 265 kB / 0.7939 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.408e-05/0.01611, allocations: 67.34 kB / 0.7939 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.314e-05/0.01617, allocations: 11.98 kB / 0.7939 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.0162, allocations: 8.5 kB / 0.794 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.0162, allocations: 7.938 kB / 0.794 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.00363/0.01983, allocations: 0.6378 MB / 0.7946 GB, free: 4.082 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.745113283977844]