Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.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.0008724/0.0008724, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008582/0.0008582, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9194/0.9194, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.727/1.727, allocations: 377.9 MB / 0.6228 GB, free: 8.645 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: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.66e-05, allocations: 8.812 kB / 0.9821 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001629/0.001656, allocations: 1.278 MB / 0.9834 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.004219, allocations: 3.07 MB / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.004251, allocations: 0 / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.004271, allocations: 0 / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.004319, allocations: 7.922 kB / 0.9864 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.004784, allocations: 103.4 kB / 0.9865 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.218e-05/0.004856, allocations: 39.83 kB / 0.9865 GB, free: 13.6 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.004893, allocations: 12 kB / 0.9865 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.004951, allocations: 31.91 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.00501, allocations: 11.98 kB / 0.9866 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.005022, allocations: 0 / 0.9866 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.005186, allocations: 75.67 kB / 0.9867 GB, free: 13.47 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.0052, allocations: 4 kB / 0.9867 GB, free: 13.46 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.005224, allocations: 11.98 kB / 0.9867 GB, free: 13.45 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.005378, allocations: 71.78 kB / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.005381, allocations: 0 / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.005382, allocations: 0 / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.005386, allocations: 4 kB / 0.9868 GB, free: 13.38 MB / 0.948 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.0003422/0.005729, allocations: 274.3 kB / 0.987 GB, free: 13.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.005765, allocations: 8.031 kB / 0.987 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.005849, allocations: 4.938 kB / 0.987 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.005931, allocations: 109.8 kB / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.005945, allocations: 12.31 kB / 0.9871 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.005969, allocations: 4.375 kB / 0.9871 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.006113, allocations: 131.3 kB / 0.9873 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006121, allocations: 192 / 0.9873 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.006135, allocations: 8.109 kB / 0.9873 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.00614, allocations: 4 kB / 0.9873 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.431e-05/0.006194, allocations: 23.92 kB / 0.9873 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.006328, allocations: 117.2 kB / 0.9874 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.172e-05/0.00641, allocations: 54.5 kB / 0.9875 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.006431, allocations: 12.84 kB / 0.9875 GB, free: 12.51 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004802/0.006911, allocations: 245.8 kB / 0.9877 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.006931, allocations: 30.56 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.006933, allocations: 0 / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004745/0.007407, allocations: 233.5 kB / 0.988 GB, free: 11.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.007436, allocations: 51.41 kB / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.446e-05/0.007491, allocations: 97.84 kB / 0.9881 GB, free: 11.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.007503, allocations: 33.7 kB / 0.9881 GB, free: 11.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.007537, allocations: 84.09 kB / 0.9882 GB, free: 11.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.007552, allocations: 31.73 kB / 0.9883 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.007584, allocations: 25.72 kB / 0.9883 GB, free: 11.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.007655, allocations: 314.8 kB / 0.9886 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.007677, allocations: 15.94 kB / 0.9886 GB, free: 11.26 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.007718, allocations: 53.08 kB / 0.9886 GB, free: 11.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.007788, allocations: 85.02 kB / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007789, allocations: 0 / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.418e-05/0.007884, allocations: 93.5 kB / 0.9888 GB, free: 10.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.007897, allocations: 8 kB / 0.9888 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007902, allocations: 80 / 0.9888 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.007916, allocations: 4 kB / 0.9888 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.007969, allocations: 24.06 kB / 0.9888 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.007976, allocations: 7.984 kB / 0.9889 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.007999, allocations: 4 kB / 0.9889 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.008007, allocations: 7.984 kB / 0.9889 GB, free: 10.94 MB / 0.948 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 6.156e-05/0.008069, allocations: 117.8 kB / 0.989 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.008084, allocations: 4 kB / 0.989 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.008112, allocations: 12.06 kB / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.008114, allocations: 288 / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.008119, allocations: 0 / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008121, allocations: 0 / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.008265, allocations: 125.2 kB / 0.9891 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.008266, allocations: 4 kB / 0.9891 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.008315, allocations: 19.92 kB / 0.9891 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.008318, allocations: 4.438 kB / 0.9891 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.008324, allocations: 0 / 0.9891 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008325, allocations: 0 / 0.9891 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008327, allocations: 4 kB / 0.9891 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.008471, allocations: 183.3 kB / 0.9893 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.008492, allocations: 0 / 0.9893 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.008505, allocations: 8 kB / 0.9893 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.008564, allocations: 4.031 kB / 0.9893 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.008579, allocations: 8 kB / 0.9893 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.008583, allocations: 3.938 kB / 0.9893 GB, free: 10.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.623e-05/0.008609, allocations: 87.27 kB / 0.9894 GB, free: 10.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00861, allocations: 0 / 0.9894 GB, free: 10.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001578/0.008767, allocations: 12 kB / 0.9894 GB, free: 10.3 MB / 0.948 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.0001138/0.008881, allocations: 99.25 kB / 0.9895 GB, free: 10.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.008974, allocations: 35.92 kB / 0.9896 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008976, allocations: 256 / 0.9896 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.008993, allocations: 27.92 kB / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.009232, allocations: 11.94 kB / 0.9896 GB, free: 10.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.009664, allocations: 278.6 kB / 0.9899 GB, free: 9.809 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.62e-05/0.00971, allocations: 71.34 kB / 0.9899 GB, free: 9.719 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.009735, allocations: 12.5 kB / 0.9899 GB, free: 9.707 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/0.009736, allocations: 0 / 0.9899 GB, free: 9.707 MB / 0.948 GB Notification: Performance of Templates: time 0.001644/0.01138, allocations: 0.8047 MB / 0.9907 GB, free: 8.902 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.580090321600437]